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