changed "spc" to "c_sp"

This commit is contained in:
Gorilla Sapiens
2025-06-04 06:37:59 +00:00
parent 3d118dc6e5
commit b6f42f9ab2
204 changed files with 913 additions and 909 deletions

View File

@@ -6,7 +6,7 @@
.export tosanda0, tosandax
.import addysp1
.importzp spc, ptr4
.importzp c_sp, ptr4
.macpack cpu
@@ -14,16 +14,16 @@ tosanda0:
ldx #$00
tosandax:
.if (.cpu .bitand CPU_ISET_65SC02)
and (spc) ; 65SC02 version, saves 2 cycles and 1 byte
and (c_sp) ; 65SC02 version, saves 2 cycles and 1 byte
ldy #1
.else
ldy #0
and (spc),y
and (c_sp),y
iny
.endif
pha
txa
and (spc),y
and (c_sp),y
tax
pla
jmp addysp1 ; drop TOS, set condition codes