You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,11 @@ Labels are of the format "NAME:". They are used to refer to memory locations wit
39
39
An example of useage would be "number: .data 1 2", which is using the label "number" to point to a data element of 1 nibble in size with the initial value of 2.
40
40
41
41
Labels when referenced in instructions can be used in two forms:
42
-
* INST LABEL - where the instruction INST simply references the memory location pointed to by LABEL
43
-
* INST LABEL[OFFSET] - where the instruction INST references the memory location pointed to by LABEL + OFFSET. OFFSET must be a hexidecimal value, optionally preceded by "0x".
42
+
* INST LABEL
43
+
* Where the instruction INST simply references the memory location pointed to by LABEL
44
+
* INST LABEL[OFFSET]
45
+
* Where the instruction INST references the memory location pointed to by LABEL + OFFSET. OFFSET must be a hexidecimal value, optionally preceded by "0x".
46
+
44
47
An example of usage would be "LOD sum[F]", which loads the memory address pointed to by "sum" plus the offset of "F" (15 in decimal) into the accumulator.
0 commit comments