Reputation: 17
int x;
int y = 20;
__asm__ __volatile__(
"mov %0, %1\n\t"
: "=r" (y)
: "r" (x)
);
So in the above code I'm trying to load or copying 20 into the x. But there was something i want to asking about,I want to ask something about the operand, Actually, operands are loaded from left to right or from right to left?
Upvotes: -1
Views: 51