aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/README.md b/README.md
index 13f0089..414a554 100644
--- a/README.md
+++ b/README.md
@@ -73,23 +73,24 @@ function2:
```
That being said, if the label exists in relation to another one, then it ought
-to be kept at the previous indentation level. For example, labels for control
-flow inside of a function:
+to be kept at the same indentation level as the other label. For example, labels
+for control flow inside of a function:
``` assembly
-function1:
+foo:
lda #1
@label: ; bad!
jmp @label
-function2:
+foo:
lda #1
@label: ; good!
jmp @label
```
-The same would apply to a function which has some pre-computed data for some of
-its logic:
+That is, `@label` exists in relation to `foo`, and so it should be at the same
+indentation level. The same would apply to a function which has some
+pre-computed data for some of its logic:
``` assembly
function1: