rename "sp" to "spc", avoid conflict with 4510 opcodes

This commit is contained in:
Gorilla Sapiens
2025-06-04 02:06:40 +00:00
parent 58171691d0
commit 3d118dc6e5
204 changed files with 908 additions and 908 deletions

View File

@@ -7,7 +7,7 @@
.export toslcmp
.import incsp4
.importzp sp, sreg, ptr1
.importzp spc, sreg, ptr1
toslcmp:
@@ -15,23 +15,23 @@ toslcmp:
stx ptr1+1 ; EAX now in sreg:ptr1
ldy #$03
lda (sp),y
lda (spc),y
sec
sbc sreg+1
bne L4
dey
lda (sp),y
lda (spc),y
cmp sreg
bne L1
dey
lda (sp),y
lda (spc),y
cmp ptr1+1
bne L1
dey
lda (sp),y
lda (spc),y
cmp ptr1
L1: php ; Save flags