Remove extra parentheses

This commit is contained in:
Rangi 2018-07-08 16:29:46 -04:00
parent 5e6837807c
commit 146fa1be51
1 changed files with 2 additions and 2 deletions

View File

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