#include #include #include int main(){ pid_t the_pid = 0; asm("call getpid; mov %%rax, %%r8 " : "=seven"(the_pid) ); if(the_pid == getpid()) printf("You finished the problem!\n"); else printf("PID = %d\n", getpid()); return 0; }