blob: ae425ecbb0cf091da60ca3a01d80766354624a46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
global main
extern printf
section .rodata
msg: db "Hello World!", 13, 10, 0
section .text
main:
sub rsp, 8
sub rsp, 32
mov rcx, qword msg
call printf
add rsp, 32
xor eax, eax
add rsp, 8
ret
|