test #2674
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
.export _fprintf
|
||||
.import addysp, decsp4, _vfprintf
|
||||
.importzp sp, ptr1
|
||||
.importzp c_sp, ptr1
|
||||
|
||||
.macpack generic
|
||||
|
||||
@@ -38,9 +38,9 @@ _fprintf:
|
||||
; Calculate a pointer to the Format argument
|
||||
|
||||
lda ParamSize
|
||||
add sp
|
||||
add c_sp
|
||||
sta ptr1
|
||||
ldx sp+1
|
||||
ldx c_sp+1
|
||||
bcc @L1
|
||||
inx
|
||||
@L1: stx ptr1+1
|
||||
@@ -49,7 +49,7 @@ _fprintf:
|
||||
|
||||
ldy #4-1
|
||||
@L2: lda (ptr1),y
|
||||
sta (sp),y
|
||||
sta (c_sp),y
|
||||
dey
|
||||
bpl @L2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user