ack/mach/ns/libsys/execl.s
1987-01-16 16:34:45 +00:00

21 lines
243 B
ArmAsm

.define _execl
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.extern _execl
.sect .text
_execl:
enter[], 0
movd @__penvp,tos
addr 12(fp),tos
movd 8(fp),tos
movd 59,tos
jsr @.mon
movd tos,r7
movd r7,@_errno
movd -1,r4
exit []
ret 0