ack/mach/vax4/libbsd4_2/syscall.s

10 lines
116 B
ArmAsm
Raw Permalink Normal View History

1987-02-23 18:58:58 +00:00
#include "syscall.h"
DEFINE(_syscall)
movl 4(ap),r0
subl3 $1,(ap)+,(ap)
chmk r0
1990-01-11 16:00:19 +00:00
bcs Ierr
1987-02-23 18:58:58 +00:00
ret
1990-01-11 16:00:19 +00:00
Ierr:
1987-02-23 18:58:58 +00:00
jmp cerror