ack/mach/ns/libsys/exit.s
1985-07-26 12:51:45 +00:00

12 lines
118 B
ArmAsm

.define _exit
.extern _exit
.text
_exit:
enter[], 0
jsr @__cleanup
movd 8(fp),tos
jsr @__exit
adjspd -4
exit []
ret 0