summaryrefslogtreecommitdiff
path: root/STYLE.md
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-10-30 12:26:03 -0400
committerGitHub <noreply@github.com>2020-10-30 12:26:03 -0400
commit7a42f1790ae1e9e357593879bd38c6596dcb03da (patch)
treedbf4ee19995364f15a3b3f98925f606c50598334 /STYLE.md
parenta2b6befd7d12b2ad8bb97979a10519500dcdd870 (diff)
parent1092983bde65bbf1a27eeabbfbceec1f278a4831 (diff)
Merge pull request #776 from Rangi42/unreferenced
Comment, remove, or revise many unreferenced labels
Diffstat (limited to 'STYLE.md')
-rw-r--r--STYLE.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/STYLE.md b/STYLE.md
index a80315120..becfc5044 100644
--- a/STYLE.md
+++ b/STYLE.md
@@ -69,6 +69,7 @@ PascalCase: ; label
PascalCase:: ; global label
.snake_case ; local jump
.PascalCase: ; an atomic chunk of code or data that's local
+; don't define unused labels when a comment would do
; Labels are prefixed with lower case letters depending on location
wPascalCase: ; wram
@@ -151,9 +152,7 @@ endr
; do
db \1, \2, \3, \4, \5
-rept 5
- shift
-endr
+ shift 5
db \1, \2, \3, \4, \5
ENDM
@@ -161,7 +160,7 @@ ENDM
UPPER_CASE_IS_OK_SOMETIMES: MACRO
-; but i can't think of any examples
+; but I can't think of any examples besides ACRONYMS
ENDM