view src/maze.c @ 10770:b7cd5e932afb

<hkgit03> le//rn wisdomme//wisdomme is the PDF in the topic. boily is the one who compiles it.
author HackBot
date Thu, 20 Apr 2017 11:26:31 +0000
parents 4cc79cddcab8
children
line wrap: on
line source

main() { asm("xor %edi, %edi\n" "inc %edi\n" "mov %rsp, %rsi\n" "go: movl $0xb195e2, (%rsi)\n" "rdtsc\n" "and $1, %al\n" "add %al, 2(%rsi)\n" "mov %edi, %eax\n" "xor %edx, %edx\n" "mov $3, %dl\n" "syscall\n" "jmp go"); }