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

@@ -7,7 +7,7 @@
.export tosxora0, tosxorax
.import addysp1
.importzp spc, tmp1
.importzp c_sp, tmp1
.macpack cpu
@@ -15,16 +15,16 @@ tosxora0:
ldx #$00
tosxorax:
.if (.cpu .bitand CPU_ISET_65SC02)
eor (spc)
eor (c_sp)
ldy #1
.else
ldy #0
eor (spc),y
eor (c_sp),y
iny
.endif
sta tmp1
txa
eor (spc),y
eor (c_sp),y
tax
lda tmp1
jmp addysp1 ; drop TOS, set condition codes