ack/mach/m65oo2/libsys/execv.s

13 lines
211 B
ArmAsm
Raw Permalink Normal View History

2024-02-22 15:13:52 +00:00
.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