lb macro for fast double-register loads

This commit is contained in:
yenatch 2013-11-24 04:06:37 -05:00
parent b4968a9ab7
commit b47f460061
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@ callba: MACRO ; bank, address
rst FarCall rst FarCall
ENDM ENDM
lb: MACRO ; r, hi, lo
ld \1, \2 << 8 + \3
ENDM
TX_RAM: MACRO TX_RAM: MACRO
db 1 db 1
dw \1 dw \1