/* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #if defined(SYSLIBC_SCCS) && !defined(lint) .asciz "@(#)syscall.s 8.1 (Berkeley) 06/04/93" #endif /* SYSLIBC_SCCS and not lint */ #include "SYS.h" ENTRY(syscall) movl 4(ap),r0 # syscall number subl3 $1,(ap)+,(ap) # one fewer arguments chmk r0 jcs 1f ret 1: jmp cerror