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

21 lines
243 B
ArmAsm

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