blob: 79d9f30a7751bcb910f49f17228da31f19081a01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
global _start
section .text
_start:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, msgSize
syscall
mov rax, 60
mov rdi, 0
syscall
section .data
msg: db "Hello, world!", 10
msgSize: EQU $ - msg
|