You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
lb macro for fast double-register loads
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user