xda
public text v1 · immutable
extern printf
extern execl
extern execlp
global main
section .data
filename3: db "./a.out",0
hello: db "hello",10,0
fmt: db "%s",10
section .bss
filename: resb 500
section .text
main:
push ebp
mov ebp,esp
push ebx
push hello
push fmt
call printf
add esp,8
mov eax,0
push filename3
push filename3
push eax
call execl
add esp,12