mirror of
https://github.com/a2stuff/vnIIc.git
synced 2024-06-02 05:41:27 +00:00
22 lines
336 B
PHP
22 lines
336 B
PHP
;;;---------------------------------------------------------
|
|
;;;
|
|
;;; Generic Macros
|
|
;;;
|
|
;;;---------------------------------------------------------
|
|
|
|
.macro SaveRegisters
|
|
pha
|
|
txa
|
|
pha
|
|
tya
|
|
pha
|
|
.endmacro
|
|
|
|
.macro RestoreRegisters
|
|
pla
|
|
tay
|
|
pla
|
|
tax
|
|
pla
|
|
.endmacro
|