Update the style guide with new conventions and rgbasm possibilities

This commit is contained in:
Rangi 2020-10-26 22:35:40 -04:00
parent c85ba78b77
commit 66ddeeff6c

View File

@ -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