mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
770d230178
git-svn-id: svn://svn.cc65.org/cc65/trunk@3938 b7a2c559-68d2-44c3-8de9-860c34a00d81
24 lines
498 B
ArmAsm
24 lines
498 B
ArmAsm
;
|
|
; 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
|
|
bne err ; Jump if yes
|
|
jmp scratch ; Scratch the file, return an error code
|
|
err: rts
|
|
|
|
.endproc
|
|
|
|
|