21 lines
166 B
NASM
21 lines
166 B
NASM
|
;**********
|
||
|
; Macros
|
||
|
;**********
|
||
|
|
||
|
.macro pushreg
|
||
|
PHA
|
||
|
TXA
|
||
|
PHA
|
||
|
TYA
|
||
|
PHA
|
||
|
.endmacro
|
||
|
|
||
|
|
||
|
.macro pullreg
|
||
|
PLA
|
||
|
TAY
|
||
|
PLA
|
||
|
TAX
|
||
|
PLA
|
||
|
.endmacro
|