1/* 2 * Copyright (c) 1983 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 */ 6 7#ifdef SYSLIBC_SCCS 8_sccsid:.asciz "@(#)execle.s 5.1 (Berkeley) 07/02/86" 9#endif SYSLIBC_SCCS 10 11#include "SYS.h" 12 13ENTRY(execle) 14 movw -2(fp),r0 # removed word. 15 subw2 $4,r0 16 shar $2,r0,r0 # num. of args. 17 pushl (fp)[r0] 18 pushab 8(fp) 19 pushl 4(fp) 20 calls $16,_execve 21 ret # execle(file, arg1, arg2, ..., env); 22