stxy macro

This commit is contained in:
Joshua Bell 2018-09-03 17:32:46 -07:00
parent a05d4631df
commit bc5a16f3d6

View File

@ -168,6 +168,13 @@ end:
stx arg+1
.endmacro
;;; Store X,Y
;;; stxy $1234 ; absolute
.macro stxy arg
stx arg
sty arg+1
.endmacro
;;; Core for add16/sub16
.macro _addsub16 op, opc, arg1, arg2, arg3, arg4, arg5, arg6
.if _is_register {arg2} && _is_register {arg4} && _is_register {arg6}