1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
section .data msg db "Hello, World!", 0xa len equ $ - msg section .text global _start _start: mov eax, 4 ; sys_write mov ebx, 1 ; stdout mov ecx, msg mov edx, len int 0x80 mov eax, 1 ; sys_exit xor ebx, ebx int 0x80