.section .text .global _start _start: movl 0(%esp), %eax # argc leal 4(%esp), %edx # argv leal 8(%esp, %eax, 4), %ecx # envp pushl %ecx # envp pushl %edx # argv pushl %eax # argc xorl %ebp, %ebp # mark first stack frame call main pushl %eax call exit .size _start, . - _start