1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-19 16:24:46 +00:00
cc65/libsrc/telemon30/_close.s

17 lines
409 B
ArmAsm

.export _close
.import addysp,popax
.importzp sp,tmp2,tmp3,tmp1
; int open (const char* name, int flags, ...); /* May take a mode argument */
.include "telemon30.inc"
.include "errno.inc"
.include "fcntl.inc"
.proc _close
; Throw away any additional parameters passed through the ellipsis
BRK_TELEMON XCLOSE ; launch primitive ROM
rts
.endproc