mirror of https://github.com/pret/pokecrystal.git
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
|
||||
ENDM
|
||||
|
||||
|
||||
lb: MACRO ; r, hi, lo
|
||||
ld \1, \2 << 8 + \3
|
||||
ENDM
|
||||
|
||||
|
||||
TX_RAM: MACRO
|
||||
db 1
|
||||
dw \1
|
||||
|
|
Loading…
Reference in New Issue