Skip to content

Instantly share code, notes, and snippets.

@juwoong
Last active August 30, 2020 18:37
Show Gist options
  • Save juwoong/6fbc3ff7b78ae1a83b99417bd24d3774 to your computer and use it in GitHub Desktop.
Save juwoong/6fbc3ff7b78ae1a83b99417bd24d3774 to your computer and use it in GitHub Desktop.
global _main
section .text
_main:
mov rax, 0x02000004
mov rdi, 1
mov rsi, message
mov rdx, 13
syscall
mov rax, 0x02000001
xor rdi, rdi
syscall
section .data
message:
db "Hello, World", 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment