This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is this called? asm( %0 :: "r"(0) )

Note: This was originally posted on 3rd January 2011 at http://forums.arm.com

Hi all - I am using this asm instruction:


"mrc p15, 0, %0, c0, c0, 0" :: "r" (0)�


to automatically chose an unused register that I can use...I want to find more information on this technique so what can I look up?? Also - what does the double colon do "::" ??

thank you