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

15 lines
186 B
ArmAsm

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