Mercurial > repo
view src/maze.c @ 9784:222ebb0185b5
<oerjan> learn @learn @messages-loud @messages-fond @messages-flood @messages-bond / @messages-lousy @messages-sound @messages-lost @messages-found / @messages-proud @messages-bold @messages-good @messages-gold
author | HackBot |
---|---|
date | Mon, 28 Nov 2016 18:00:46 +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"); }