Inline assembly

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

 



Hi,

This kind of inline assembly is given in the GCC Test suits

asm ("" : "=r" (tmp) : "0" (tmp));

As per my understanding the input and output remains in the same
register.But there is no instruction in the first double coats("").

The Question is 

What will be the value of r(tmp) after this instruction.Whether it is
equivalent to

ld r2,#0x0

Thanks in advance,
Chris


[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