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