1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
cc65/libsrc/cbm/sysremove.s

25 lines
553 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 16.11.2002
;
; unsigned char __fastcall__ _sysremove (const char* name);
;
.export __sysremove
.import fnparse, scratch
;--------------------------------------------------------------------------
; __sysremove:
.proc __sysremove
jsr fnparse ; Parse the given file name
cmp #0 ; Do we have an error?
bne err ; Jump if yes
jmp scratch ; Scratch the file, return an error code
err: rts
.endproc