Initial revision
This commit is contained in:
12
mach/i86/libsys/execv.s
Normal file
12
mach/i86/libsys/execv.s
Normal file
@@ -0,0 +1,12 @@
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||
.define _execv
|
||||
.extern _execv, _environ, cerror
|
||||
_execv:
|
||||
mov bx,sp
|
||||
push (_environ)
|
||||
push 4(bx)
|
||||
push 2(bx)
|
||||
push ax
|
||||
int 0xbb
|
||||
add sp,8
|
||||
jmp cerror
|
||||
Reference in New Issue
Block a user