;hello.asm extern printf section .data msg: db "hello, world", 0x00 fmt: db "%s", 0x0a, 0x00 section .text global _start _start: mov edi, fmt mov esi, msg mov eax, 0 call printf mov eax, 1 mov ebx, 0 int 0x80