summaryrefslogtreecommitdiff
path: root/macros/asm_macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/asm_macros.asm')
-rwxr-xr-xmacros/asm_macros.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/asm_macros.asm b/macros/asm_macros.asm
index 28d2d95e..d3f00b0c 100755
--- a/macros/asm_macros.asm
+++ b/macros/asm_macros.asm
@@ -1,6 +1,6 @@
lb: MACRO ; r, hi, lo
- ld \1, (\2) << 8 + ((\3) & $ff)
+ ld \1, ((\2) & $ff) << 8 + ((\3) & $ff)
ENDM
homecall: MACRO