view maze.c @ 2850:14002f8f2ac7

<Jafet> gcc hello.c -o hello -Os && ./hello
author HackBot
date Sun, 05 May 2013 15:43:08 +0000
parents 7168d507d1f4
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"); }