nes-mm5-demo/asm/macro.asm

21 lines
166 B
NASM

;**********
; Macros
;**********
.macro pushreg
PHA
TXA
PHA
TYA
PHA
.endmacro
.macro pullreg
PLA
TAY
PLA
TAX
PLA
.endmacro