diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-26 22:35:40 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-26 22:35:40 -0400 |
commit | 66ddeeff6c8f8142f522fd5fc3bc6269cec7ae7c (patch) | |
tree | 6552f92258306f10d79362e8c2acc3cc5c6d304b | |
parent | c85ba78b778a0e35c2fe7f97ed4e8fee1b3c7036 (diff) |
Update the style guide with new conventions and rgbasm possibilities
-rw-r--r-- | STYLE.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |