mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
fnparse will return zero flag according to error (ZF=1 means no error).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3938 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4dd9c523e7
commit
770d230178
@ -14,7 +14,6 @@
|
|||||||
.proc __sysremove
|
.proc __sysremove
|
||||||
|
|
||||||
jsr fnparse ; Parse the given file name
|
jsr fnparse ; Parse the given file name
|
||||||
cmp #0 ; Do we have an error?
|
|
||||||
bne err ; Jump if yes
|
bne err ; Jump if yes
|
||||||
jmp scratch ; Scratch the file, return an error code
|
jmp scratch ; Scratch the file, return an error code
|
||||||
err: rts
|
err: rts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user