; ; hello.asm ; Jeff Ondich, 19 Jan 2022 ; ; Turning this assembly language program into an executable is a two-step process ; ; nasm -f elf64 -o hello.o hello.asm ; ld -o hello hello.o ; ; Then you can run the result like so: ; ; ./hello ; section .data text db "Hello, world!", 10 section .text global _start _start: mov rax, 1 mov rdi, 1 mov rsi, text mov rdx, 14 syscall mov rax, 60 mov rdi, 0 syscall