ack/mach/i86/libsys/execl.s

21 lines
275 B
ArmAsm
Raw Permalink Normal View History

1987-01-08 10:41:08 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define _execl
.extern _execl, _environ, _execve
_execl:
push si
push di
push bp
mov bp,sp
push (_environ)
lea ax,10(bp)
push ax
push 8(bp)
call _execve
add sp,6
mov sp,bp
pop bp
pop di
pop si
ret