-
Ext. Inline Output list
When using outputs in extended inline assembly, what if you've got 2 outputs? I know output #1 is %0, but what is output #2 (%1 is input #1).
*edit*
What I want to do is move two numbers (in binary format) into two variables (a and b):
Code:
__asm__ ("movl $01100011, %0\n\t"
"movl $01000001, #\n\t"
:"=r" (a), "=r" (b)
);
I want to do it using binary representation because I've just started my Electronics course and want to & them together - self teaching myself some stuff before we get going :)
# is where I don't know what to do BTW.