diff options
author | yenatch <yenatch@gmail.com> | 2017-12-28 19:34:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-28 19:34:43 -0500 |
commit | 82a05a1752b476caab8951fe03f539dcc1a63669 (patch) | |
tree | 972f867159ded40695e868338bb697a303335b62 /macros/code.asm | |
parent | e2b378f5e32ea1416fbc9ac5e96d23be244e4a6b (diff) | |
parent | 50fc9c3389ae8130d3670683f22f3e49555c57a3 (diff) |
Merge pull request #443 from xCrystal/master
Misc style cleanup and documentation
Diffstat (limited to 'macros/code.asm')
-rw-r--r-- | macros/code.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/code.asm b/macros/code.asm index 93b35bd94..5ec214d50 100644 --- a/macros/code.asm +++ b/macros/code.asm @@ -2,11 +2,11 @@ lb: MACRO ; r, hi, lo ld \1, (\2 & $ff) << 8 + (\3 & $ff) - ENDM +ENDM ln: MACRO ; r, hi, lo ld \1, (\2 & $f) << 4 + (\3 & $f) - ENDM +ENDM ldpixel: MACRO if _NARG >= 5 @@ -14,7 +14,7 @@ if _NARG >= 5 else lb \1, \2 * 8, \3 * 8 endc - ENDM +ENDM depixel EQUS "ldpixel de," bcpixel EQUS "ldpixel bc," @@ -33,12 +33,12 @@ jumptable: MACRO ld h, [hl] ld l, a jp hl - ENDM +ENDM ; Many mobile functions were dummied out in localization. mobile EQUS "ret" -maskbits: macro +maskbits: MACRO ; example usage in rejection sampling: ; .loop ; call Random @@ -52,4 +52,4 @@ x = (x + 1) * 2 +- 1 endc endr and x - ENDM +ENDM |