section .data hello db 'Hello, World!',0 ; Null-terminated string to be printed section .text global _start _start: ; Syscall to write to stdout (file descriptor 1) mov eax, 4 ; syscall number for sys_write mov ebx, 1 ; file descriptor 1 (stdout) mov ecx, hello ; pointer to the string mov edx, 13 ; length of the string int 0x80 ; interrupt to invoke syscall ; Exit syscall mov eax, 1 ; syscall number for sys_exit mov ebx, 0 ; exit code 0 int 0x80 ; interrupt to invoke syscall