This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
HelloWorld/Assembly/linux_fasm.asm
2022-07-30 14:01:38 +00:00

17 lines
277 B
NASM

format ELF64 executable 3
segment readable executable
_start:
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, message_len
syscall
mov rax, 60
mov rdi, 0
syscall
segment readable
message: db "Hello world", 10
message_len = $ - message