diff options
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index be11efcc6..408cd884d 100644 --- a/constants.asm +++ b/constants.asm @@ -5,6 +5,18 @@ dwb: MACRO db \2 ENDM +callab: MACRO + ld hl, \1 + ld a, BANK(\1) + rst $08 + ENDM + +callba: MACRO + ld a, BANK(\1) + ld hl, \1 + rst $08 + ENDM + TX_FAR: MACRO db $16 dw \1 |