diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-09 12:14:54 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-09 12:14:54 +0100 |
commit | 00f66fd0d5de41b4c2fdaa7ec2ddf42d041e6af4 (patch) | |
tree | 7421df2a3f7d562a75c7d6ed2143370df32af2d4 /README.md | |
parent | d49b5caeb379cc2f49f7f3d04035ffc6fd60bf05 (diff) | |
download | tr8vm-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.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |