152725Sbostic/*- 2*61146Sbostic * Copyright (c) 1991, 1993 3*61146Sbostic * The Regents of the University of California. All rights reserved. 452725Sbostic * 552725Sbostic * This code is derived from software contributed to Berkeley by 652725Sbostic * Ralph Campbell. 752725Sbostic * 852725Sbostic * %sccs.include.redist.c% 952725Sbostic */ 1052725Sbostic 1152725Sbostic#include "SYS.h" 1252725Sbostic 1352725Sbostic#if defined(LIBC_SCCS) && !defined(lint) 14*61146Sbostic ASMSTR("@(#)exect.s 8.1 (Berkeley) 06/04/93") 1552725Sbostic#endif /* LIBC_SCCS and not lint */ 1652725Sbostic 1752725SbosticLEAF(exect) 1852725Sbostic li v0, SYS_execve 1952725Sbostic syscall 2052725Sbostic bne a3, zero, 1f 2152725Sbostic j ra 2252725Sbostic1: 2352725Sbostic j _cerror 2452725SbosticEND(exect) 25