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 b003a3786..3a22a43db 100644
--- a/macros.asm
+++ b/macros.asm
@@ -36,6 +36,12 @@ callba: MACRO ; bank, address
rst FarCall
ENDM
+
+lb: MACRO ; r, hi, lo
+ ld \1, \2 << 8 + \3
+ ENDM
+
+
TX_RAM: MACRO
db 1
dw \1