mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
lb macro for fast double-register loads
This commit is contained in:
parent
b4968a9ab7
commit
b47f460061
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user