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,23 +7,23 @@
.export _DbgMemDump
.import addysp1
.import __hextab
.importzp sp, tmp2, tmp3, tmp4, ptr3, ptr4
.importzp spc, tmp2, tmp3, tmp4, ptr3, ptr4
_DbgMemDump:
ldy #0
lda (sp),y ; Get length
lda (spc),y ; Get length
sta tmp4
iny
lda (sp),y ; Get the string buffer
lda (spc),y ; Get the string buffer
sta ptr3
iny
lda (sp),y
lda (spc),y
sta ptr3+1
iny
lda (sp),y ; Get the address
lda (spc),y ; Get the address
sta ptr4
iny
lda (sp),y
lda (spc),y
sta ptr4+1
jsr addysp1 ; Drop the parameters