mirror of
https://github.com/cc65/cc65.git
synced 2025-01-27 09:33:42 +00:00
functions returning char in A must have X cleared
git-svn-id: svn://svn.cc65.org/cc65/trunk@3528 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
cde729b636
commit
fca6bbeb9a
@ -4,7 +4,7 @@
|
|||||||
;
|
;
|
||||||
; 22.12.99, 29.07.2000
|
; 22.12.99, 29.07.2000
|
||||||
|
|
||||||
; void CmpFString (char length, char *dest, char* source);
|
; char CmpFString (char length, char *dest, char* source);
|
||||||
|
|
||||||
.import DoubleSPop, SetPtrXY
|
.import DoubleSPop, SetPtrXY
|
||||||
.import popa
|
.import popa
|
||||||
@ -16,4 +16,7 @@ _CmpFString:
|
|||||||
jsr DoubleSPop
|
jsr DoubleSPop
|
||||||
jsr popa
|
jsr popa
|
||||||
jsr SetPtrXY
|
jsr SetPtrXY
|
||||||
jmp CmpFString
|
jsr CmpFString
|
||||||
|
bne L1
|
||||||
|
jmp return0
|
||||||
|
L1: jmp return1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user