ack/mach/xenix3/libsys/shutdn.s
1987-10-06 16:39:14 +00:00

15 lines
199 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define _shutdn
.sect .text
_shutdn:
mov ax,40
push bp
mov bp,sp
mov cx,6(bp)
mov bx,4(bp)
call syscal
mov (_errno),ax
mov ax,-1
pop bp
ret