summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 16b298268..68436697f 100644
--- a/macros.asm
+++ b/macros.asm
@@ -79,11 +79,17 @@ bigdw: MACRO ; big-endian word
ENDM
dba: MACRO ; dbw bank, address
+ rept _NARG
dbw BANK(\1), \1
+ shift
+ endr
ENDM
dab: MACRO ; dwb address, bank
+ rept _NARG
dwb \1, BANK(\1)
+ shift
+ endr
ENDM
lb: MACRO ; r, hi, lo