diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-24 21:37:26 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-24 21:45:54 +0100 |
| commit | 353f0cf12f3aec3c411cf643d567a96a01ad756d (patch) | |
| tree | 0618d0bf440c53fbd2e6cf826eeaa5cf538bba62 | |
| parent | 64517738cef8fbc2644723eb39f141958ae57639 (diff) | |
| download | style.nes-353f0cf12f3aec3c411cf643d567a96a01ad756d.tar.gz style.nes-353f0cf12f3aec3c411cf643d567a96a01ad756d.zip | |
Change the wording on label indentation
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| -rw-r--r-- | README.md | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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: |
