int main(int argc, char *argv[])
{
int a = 10, b;
__asm__("movl %1, %%eax "
"movl %%eax, %0 "
:"=r"(b)
:"r"(a)
:"%eax"
);
printf("ret: %d, %d ", a, b);
return 0;
}