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

14 lines
177 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define _syscall
_syscall:
.data2 0x0000
movl 4(ap),r0
subl3 $1,(ap)+,(ap)
chmk r0
bcc 1f
jmp cerror
1:
ret