I tried to use this game, and I could not find anything informative enough for my understanding.
int i; char msg1[] = "odd"; char msg2[] = "even"; char *ptr; __asm__(" \ movl i, %eax\n\ andl $1, %eax\n\ jz zero\n\ movl $msg1, %eax\n\ jmp done\n\ zero:\n\ movl $msg2, %eax\n\ done:\n\ movl %eax, ptr\n\ ");
Why do we need $ , and the other (for example, i) does not have the $ sign?
source share