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

@@ -5,23 +5,23 @@
;
.export popa
.importzp sp
.importzp spc
.macpack cpu
.proc popa
.if (.cpu .bitand ::CPU_ISET_65SC02)
lda (sp)
lda (spc)
.else
ldy #0 ; (2)
lda (sp),y ; (7) Read byte
lda (spc),y ; (7) Read byte
.endif
inc sp ; (12)
inc spc ; (12)
beq @L1 ; (14)
rts ; (20)
@L1: inc sp+1
@L1: inc spc+1
rts
.endproc