Re: gcc inline asm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rokas Masiulis <roma1390@xxxxxxxxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux