ack/mach/vax4/libbsd4_2/wait3.s
1990-01-11 16:00:19 +00:00

15 lines
175 B
ArmAsm

#include "syscall.h"
DEFINE(_wait3)
movl 8(ap),r0
movl 12(ap),r1
bispsw $0xf
chmk $SYS_wait
bcs Ierr
tstl 4(ap)
beql Iout
movl r1,*4(ap)
Iout:
ret
Ierr:
jmp cerror