1*21894Sdist/* 2*21894Sdist * Copyright (c) 1983 Regents of the University of California. 3*21894Sdist * All rights reserved. The Berkeley software License Agreement 4*21894Sdist * specifies the terms and conditions for redistribution. 5*21894Sdist */ 69523Smckusick 7*21894Sdist#ifndef lint 8*21894Sdiststatic char sccsid[] = "@(#)syscall.s 5.1 (Berkeley) 06/03/85"; 9*21894Sdist#endif not lint 10*21894Sdist 119523Smckusick#include "SYS.h" 129523Smckusick 139523SmckusickENTRY(syscall) 149523Smckusick movl 4(ap),r0 # syscall number 159523Smckusick subl3 $1,(ap)+,(ap) # one fewer arguments 169523Smckusick chmk r0 1713428Ssam jcs 1f 189523Smckusick ret 1913428Ssam1: 2013428Ssam jmp cerror 21