ack/mach/m68k4/libsys/exit.s

13 lines
135 B
ArmAsm
Raw Normal View History

1984-12-14 15:52:15 +00:00
.define _exit
.extern _exit
.text
_exit:
tst.b -40(sp)
link a6,#-0
jsr __cleanup
1985-03-04 17:26:31 +00:00
move.l 8(a6),-(sp)
1984-12-14 15:52:15 +00:00
jsr __exit
1985-03-04 17:26:31 +00:00
add.l #4,sp
1984-12-14 15:52:15 +00:00
unlk a6
rts