global main extern printf ; DONNEES section .data message: db "hello world!", 10, 0 ; CODE section .text main: push ebp mov ebp, esp push dword message call printf add esp, 4 xor eax, eax mov esp, ebp pop ebp ret