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

@@ -36,7 +36,7 @@
bbr1 $12,*+122 ; clb 0,zp
jsr $3456
and ($12,x)
.byte $22,$00,$00 ; jsr sp
.byte $22,$00,$00 ; jsr spc
.byte $23,$00,$00 ; bbs 1,a
bit $12
and $12

View File

@@ -10,9 +10,9 @@ before:
jsr pusha
ldy #$01
ldx #$00
lda (sp),y
lda (spc),y
beq L0005
lda (sp,x)
lda (spc,x)
beq L0005
txa
jmp incsp2 ; <--
@@ -24,9 +24,9 @@ after:
jsr pusha
ldy #$01
ldx #$00
lda (sp),y
lda (spc),y
beq L0004
lda (sp,x)
lda (spc,x)
beq L0004
txa
jmp L0001 ; <--

View File

@@ -62,7 +62,7 @@ int s85(struct defs *pd0){
struct tnode *right;
};
struct tnode s1, s2, *sp;
struct tnode s1, s2, *spc;
struct{
char cdummy;