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

@@ -5,7 +5,7 @@
;
.export push0, pusha0, pushax
.importzp spc
.importzp c_sp
.macpack cpu
@@ -20,21 +20,21 @@ pusha0: ldx #0
.proc pushax
pha ; (3)
lda spc ; (6)
lda c_sp ; (6)
sec ; (8)
sbc #2 ; (10)
sta spc ; (13)
sta c_sp ; (13)
bcs @L1 ; (17)
dec spc+1 ; (+5)
dec c_sp+1 ; (+5)
@L1: ldy #1 ; (19)
txa ; (21)
sta (spc),y ; (27)
sta (c_sp),y ; (27)
pla ; (31)
dey ; (33)
.if (.cpu .bitand ::CPU_ISET_65SC02)
sta (spc) ; (37)
sta (c_sp) ; (37)
.else
sta (spc),y ; (38)
sta (c_sp),y ; (38)
.endif
rts ; (44/43)