summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-07-17 18:16:12 -0400
committerGitHub <noreply@github.com>2018-07-17 18:16:12 -0400
commit3e14c1f26e91b1fc1d18eed389518ae8454e938f (patch)
tree64db6e9f438a62248ef0f0fe8e874ca6cf94b720 /macros/code.asm
parent89c2646ccaa2c9a0afb358c1d9738e9bb0d42c97 (diff)
parentb23f0b2bdaa993f17d8312bcde5f2b8a59ef9c90 (diff)
Merge pull request #539 from Rangi42/master
[RTM] Miscellaneous reorganization fixes
Diffstat (limited to 'macros/code.asm')
-rw-r--r--macros/code.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/code.asm b/macros/code.asm
index 72fd4b0d2..9429884ca 100644
--- a/macros/code.asm
+++ b/macros/code.asm
@@ -1,11 +1,11 @@
; Syntactic sugar macros
lb: MACRO ; r, hi, lo
- ld \1, (((\2) & $ff) << 8) | (((\3) & $ff))
+ ld \1, ((\2) & $ff) << 8 | ((\3) & $ff)
ENDM
ln: MACRO ; r, hi, lo
- ld \1, (((\2) & $f) << 4) | (((\3) & $f))
+ ld \1, ((\2) & $f) << 4 | ((\3) & $f)
ENDM
ldpixel: MACRO