Skip to content

Commit 06f4516

Browse files
U-UC\harvey1U-UC\harvey1
authored andcommitted
fixing readme
1 parent 1911266 commit 06f4516

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ Labels are of the format "NAME:". They are used to refer to memory locations wit
3939
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.
4040

4141
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+
4447
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.
4548

4649
### Comments ###

0 commit comments

Comments
 (0)