1984-12-14 15:52:15 +00:00
|
|
|
.define _exit
|
|
|
|
.extern _exit
|
1986-07-22 13:23:14 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
|
|
|
.sect .text
|
1984-12-14 15:52:15 +00:00
|
|
|
_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
|