Created
December 11, 2011 15:10
-
-
Save jotaki/1461038 to your computer and use it in GitHub Desktop.
Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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