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 tosxor0ax, tosxoreax
.import addysp1
.importzp spc, sreg, tmp1
.importzp c_sp, sreg, tmp1
.macpack cpu
@@ -23,24 +23,24 @@ tosxor0ax:
tosxoreax:
.if (.cpu .bitand ::CPU_ISET_65SC02)
eor (spc) ; byte 0
eor (c_sp) ; byte 0
ldy #1
.else
ldy #0
eor (spc),y ; byte 0
eor (c_sp),y ; byte 0
iny
.endif
sta tmp1
txa
eor (spc),y ; byte 1
eor (c_sp),y ; byte 1
tax
iny
lda sreg
eor (spc),y ; byte 2
eor (c_sp),y ; byte 2
sta sreg
iny
lda sreg+1
eor (spc),y ; byte 3
eor (c_sp),y ; byte 3
sta sreg+1
lda tmp1