global main section .text func: mov eax, 1 ret main: call func