aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 666de45..33a4dd9 100644
--- a/README.md
+++ b/README.md
@@ -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