GitHub_collection_hello-world/a/Assembler NASM Linux64.asm
2021-05-09 02:57:36 +12:00

17 lines
335 B
NASM

section .rodata
msg db "Hello World", 0xA
len equ $- msg
section .text
global _start
_start:
mov eax, 1
mov edi, eax
mov esi, msg
mov edx, len
syscall
mov eax, 60
xor edi, edi
syscall