rename "sp" to "spc", avoid conflict with 4510 opcodes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
.export _cprintf
|
||||
.import pushax, addysp, _vcprintf
|
||||
.importzp sp, ptr1
|
||||
.importzp spc, ptr1
|
||||
|
||||
.macpack generic
|
||||
|
||||
@@ -31,9 +31,9 @@ _cprintf:
|
||||
dey
|
||||
dey ; Sub size of Format
|
||||
tya
|
||||
add sp
|
||||
add spc
|
||||
sta ptr1
|
||||
ldx sp+1
|
||||
ldx spc+1
|
||||
bcc @L1
|
||||
inx
|
||||
@L1: stx ptr1+1
|
||||
|
||||
Reference in New Issue
Block a user