ack/mach/i86/libsys/_exit.s

11 lines
198 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
.sect .text
__exit:
mov bx,sp
xor ax,ax
push ax ! unused memory
push 2(bx)
push ax ! dummy return address
int 0x81