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

@@ -10,7 +10,7 @@
;
.export pushl0, push0ax, pusheax
.import decsp4
.importzp spc, sreg
.importzp c_sp, sreg
.macpack cpu
@@ -31,19 +31,19 @@ pusheax:
jsr decsp4
ldy #3
lda sreg+1
sta (spc),y
sta (c_sp),y
dey
lda sreg
sta (spc),y
sta (c_sp),y
dey
txa
sta (spc),y
sta (c_sp),y
pla
.if (.cpu .bitand ::CPU_ISET_65SC02)
sta (spc)
sta (c_sp)
.else
dey
sta (spc),y
sta (c_sp),y
.endif
rts