ack/mach/i86/libsys/exit.s

14 lines
202 B
ArmAsm
Raw Normal View History

1987-01-08 10:41:08 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define _exit
.extern _exit, __cleanup, __exit
_exit:
push bp
mov bp,sp
call __cleanup
push 4(bp)
call __exit
pop si
mov sp,bp
pop bp
ret