Mercurial > repo
changeset 3141:00e45af8b8d2
<oerjan> mv maze* hello* share
author | HackBot |
---|---|
date | Sun, 16 Jun 2013 21:42:51 +0000 |
parents | f5d8930dc6f1 |
children | 78ce1b0d5593 |
files | hello hello.c maze maze.c share/hello share/hello.c share/maze share/maze.c |
diffstat | 8 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hello.c Sun Jun 16 21:38:33 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -const short main[] = {18517,58761,49201,49801,49407,51081,3816,0,18432,27749,28524,8236,28535,27762,8548,24074,3762,1295,15536,-207,1295};
--- a/maze.c Sun Jun 16 21:38:33 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -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"); }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/hello.c Sun Jun 16 21:42:51 2013 +0000 @@ -0,0 +1,1 @@ +const short main[] = {18517,58761,49201,49801,49407,51081,3816,0,18432,27749,28524,8236,28535,27762,8548,24074,3762,1295,15536,-207,1295};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/maze.c Sun Jun 16 21:42:51 2013 +0000 @@ -0,0 +1,1 @@ +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"); }