aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-09 12:14:54 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-09 12:14:54 +0100
commit00f66fd0d5de41b4c2fdaa7ec2ddf42d041e6af4 (patch)
tree7421df2a3f7d562a75c7d6ed2143370df32af2d4 /README.md
parentd49b5caeb379cc2f49f7f3d04035ffc6fd60bf05 (diff)
downloadtr8vm-00f66fd0d5de41b4c2fdaa7ec2ddf42d041e6af4.tar.gz
tr8vm-00f66fd0d5de41b4c2fdaa7ec2ddf42d041e6af4.zip
Implelent proper defines
As oppossed to labels to arbitraty addresses. This also prepares the way to support calculated values.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index f8eb7e5..79d4049 100644
--- a/README.md
+++ b/README.md
@@ -287,8 +287,8 @@ and `>`for the high byte.
.dw imm [, imm]
Literal word (16-bit value).
-.equ label imm
-Define a label assigning an arbitrary immediate. Because it is a label, the value will be 16-bit unless `<` or `>` are used.
+.equ id value
+Define an ID assigning a constant value. When the id is used, it will be replaced with its value.
.include "filename"
Assemble the file at current position.