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

@@ -1,26 +1,26 @@
;
; Ullrich von Bassewitz, 31.08.1998
;
; CC65 runtime: Store eax at (sp),y
; CC65 runtime: Store eax at (spc),y
;
.export steaxysp, steax0sp
.importzp sp, sreg
.importzp spc, sreg
steax0sp:
ldy #0
steaxysp:
sta (sp),y
sta (spc),y
iny
pha
txa
sta (sp),y
sta (spc),y
iny
lda sreg
sta (sp),y
sta (spc),y
iny
lda sreg+1
sta (sp),y
sta (spc),y
pla
rts