nes-mm5-demo/asm/macro.asm

21 lines
166 B
NASM
Raw Normal View History

2022-02-03 20:11:55 +00:00
;**********
; Macros
;**********
.macro pushreg
PHA
TXA
PHA
TYA
PHA
.endmacro
.macro pullreg
PLA
TAY
PLA
TAX
PLA
.endmacro