ack/mach/m68020/libsys/execl.s

16 lines
218 B
ArmAsm
Raw Normal View History

1987-01-29 22:36:35 +00:00
.define _execl
.extern _execl
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
_execl: link a6,#0
move.l (_environ),-(sp)
1987-11-02 14:23:38 +00:00
pea (12,a6)
1987-01-29 22:36:35 +00:00
move.l (8,a6),-(sp)
jsr (_execve)
add.l #0xC,sp
unlk a6
rts