Skip to content

Instantly share code, notes, and snippets.

@jotaki
Created December 11, 2011 15:10
Show Gist options
  • Save jotaki/1461038 to your computer and use it in GitHub Desktop.
Save jotaki/1461038 to your computer and use it in GitHub Desktop.
Test
.text
.global _start
_start:
movq $42, %rcx
.L0:
cmpq $20, %rcx
loopnz .L0
# exit
movq %rcx, %rdi
# xorq %rdi, %rdi
movq $0x3c, %rax
syscall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment