Last active
November 9, 2018 01:55
-
-
Save orleika/7e89ebbce3281db30d5e219feb0832a8 to your computer and use it in GitHub Desktop.
x86-64 Quine
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
mov $m, %rsi | |
mov $280, %rdx | |
mov $1, %rdi | |
mov $1, %rax | |
syscall | |
push $34 | |
mov %rsp, %rsi | |
mov $1, %rdx | |
mov $1, %rax | |
syscall | |
mov $m, %rsi | |
mov $280, %rdx | |
mov $1, %rax | |
syscall | |
push $0x00000a22 | |
mov %rsp, %rsi | |
mov $2, %rdx | |
mov $1, %rax | |
syscall | |
xor %rdi, %rdi | |
mov $60, %rax | |
syscall | |
m:.ascii"mov $m, %rsi | |
mov $280, %rdx | |
mov $1, %rdi | |
mov $1, %rax | |
syscall | |
push $34 | |
mov %rsp, %rsi | |
mov $1, %rdx | |
mov $1, %rax | |
syscall | |
mov $m, %rsi | |
mov $280, %rdx | |
mov $1, %rax | |
syscall | |
push $0x00000a22 | |
mov %rsp, %rsi | |
mov $2, %rdx | |
mov $1, %rax | |
syscall | |
xor %rdi, %rdi | |
mov $60, %rax | |
syscall | |
m:.ascii" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment