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

14 lines
167 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define __wait
.sect .text
__wait:
mov ax,7
call syscal
mov dx,bx
jae 1f
mov (_errno),ax
mov ax,-1
cwd
1:
ret