Push envc & envp

This commit is contained in:
Alex
2022-12-10 09:32:32 +02:00
parent 70eb5a4625
commit bf3275df0d

View File

@ -8,6 +8,8 @@ _start:
pushq %rbp
movq %rsp, %rbp
pushq %rcx
pushq %rdx
pushq %rsi
pushq %rdi
@ -15,6 +17,8 @@ _start:
popq %rdi
popq %rsi
popq %rdx
popq %rcx
call main
movl %eax, %edi