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

@@ -5,7 +5,7 @@
; int __cdecl__ xreg(char device, char channel, unsigned char address, ...);
.export _xreg
.importzp spc
.importzp c_sp
.import addysp, _ria_call_int_errno
.include "rp6502.inc"
@@ -20,12 +20,12 @@
@copy: ; copy stack
dey
lda (spc),y
lda (c_sp),y
sta RIA_XSTACK
tya
bne @copy
; recover variadic size and move spc
; recover variadic size and move c_sp
txa
tay
jsr addysp