aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-21 22:44:06 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-21 22:44:06 +0100
commit82e506390d12a3ce30604e42af8cbccc448ad861 (patch)
treeee6da5aeb4b5f10267850072caf856efff0d7b80 /README.md
parent6909a1a5f7e2eeb15d451af99072774593321158 (diff)
downloadtr8vm-82e506390d12a3ce30604e42af8cbccc448ad861.tar.gz
tr8vm-82e506390d12a3ce30604e42af8cbccc448ad861.zip
Add .str directive
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index f555daf..f17875a 100644
--- a/README.md
+++ b/README.md
@@ -294,6 +294,9 @@ and `>`for the high byte.
**.dw imm [, imm]**
Literal word (16-bit value).
+**.str "string"**
+Include the string as literal bytes. Use `\"` to escape a quote and `\\` to escape de backslash. The string is not zero ended, use `.db` to add a zero if needed.
+
**.ds count, imm**
Generates `count` bytes with value `imm`.