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

10 lines
116 B
ArmAsm

#include "syscall.h"
DEFINE(_syscall)
movl 4(ap),r0
subl3 $1,(ap)+,(ap)
chmk r0
bcs Ierr
ret
Ierr:
jmp cerror