aboutsummaryrefslogtreecommitdiff
path: root/change_me/Main.asm
blob: 86b015d6eaab3d87568c39d860b732ce6cedb362 (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
message: db "Hello World!", 13, 10, 0

section .text
main:
  sub  rsp,   8
  sub  rsp,   32
  mov  rcx,   qword message
  call printf
  add  rsp,   32

  xor eax, eax
  add rsp, 8
  ret