my/asm/l1.asm
2026-06-26 00:33:10 +03:00

17 lines
225 B
NASM

section .data
msg db 'Hello, World!'
len equ $ - msg
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, len
syscall
mov rax, 60
xor rdi, rdi
syscall