diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-24 14:56:37 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-24 21:45:07 +0100 |
| commit | 7b3b0526cbc5a47f4b585597410e135cc432fc44 (patch) | |
| tree | 9bbf241f75a53b6c264c4528b3778e450663c682 | |
| parent | 8fe0ee28b0c1220dd5b598e38e5c8e659c44e58e (diff) | |
| download | style.nes-7b3b0526cbc5a47f4b585597410e135cc432fc44.tar.gz style.nes-7b3b0526cbc5a47f4b585597410e135cc432fc44.zip | |
Write on upper case in instructions
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -202,6 +202,16 @@ good_thing: .byte $01 ``` +Only use upper case for macros or regular constants (as [detailed +below](#UPPER_CASE-for-macros-and-regular-constants)). For the rest of your code +stick to lower case and allow syntax highlighting on modern editors do the rest. +Hence: + +``` assembly +LDA #01 ; bad! +lda #01 ; good! +``` + ## Use the `@` prefix for named labels which affect the control flow Named labels which are part of the control flow are to use the `@` symbol as a |
