From 66ddeeff6c8f8142f522fd5fc3bc6269cec7ae7c Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 26 Oct 2020 22:35:40 -0400 Subject: [PATCH] Update the style guide with new conventions and rgbasm possibilities --- STYLE.md | 7 +++---- 1 file 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