gcc inline asm

Ian Lance Taylor iant@google.com
Tue Aug 14 05:45:00 GMT 2007


Rokas Masiulis <roma1390@uosis.mif.vu.lt> writes:

> 	asm("pause;movl %1,%0" : "=b" (z) : "o" (&y+100)); /* test case */

I think you want the input operand to be "m" (*(&y+100)).

Ian



More information about the Gcc-help mailing list