Skip to content

Instantly share code, notes, and snippets.

@shelvacu
Created August 13, 2016 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shelvacu/3fe766b33396b51011f6aa68322c30d3 to your computer and use it in GitHub Desktop.
Save shelvacu/3fe766b33396b51011f6aa68322c30d3 to your computer and use it in GitHub Desktop.
.data
msg:
.ascii "hello, world!"
.text
.globl _start
_start:
movq $1, %rax
movq $1, %rdi
movq $msg, %rsi
movq $13, %rdx
syscall
movq $60, %rax
movq $0, %rdi
syscall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment