ack/mach/mantra/libsys/_execl.s

17 lines
233 B
ArmAsm
Raw Normal View History

1990-01-22 13:09:29 +00:00
.define __execl
.extern __execl
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
__execl: link a6,#0
tst.b -132(sp)
move.l _environ,-(sp)
pea 12(a6)
move.l 8(a6),-(sp)
jsr __execve
add.l #0xC,sp
unlk a6
rts