ack/mach/vax4/libsysV_2/syscall.s

13 lines
129 B
ArmAsm
Raw Normal View History

1987-02-02 16:06:51 +00:00
.globl _syscall
.globl cerror
_syscall:
.word 0x0000
movl 4(ap),r0
subl3 $1,(ap)+,(ap)
chmk r0
bcc ok
jmp cerror
ok:
ret