Can someone tell me if my understanding of this code is correct? Move value in memory address in eax to 1st argument i.e 'to_eax' and similar for ebx as well?
__asm__ volatile(
"mov %0, %%eax \n\t"
"mov %1, %%ebx \n\t"
: : "ri"(to_eax), "ri"(to_ebx) : "eax", "ebx");