section .data section .text global main write: push ebp mov ebp, esp mov edx, 1 mov ecx, [ebp+8] mov ebx, 1 mov eax, 4 int 0x80 leave ret main: push ebp mov ebp, esp push 0x30 call write leave ret