bits 64 section .data string: db "Hello World!", 0x0A string_length equ $ - string section .text global _start _start: mov rax, 1 mov rdi, 1 mov rsi, string mov rdx, string_length syscall mov rax, 60 mov rdi, 0 syscall