Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
What is this called? asm( %0 :: "r"(0) )
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
119 subscribers
Views
2738 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
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) )
sam d
over 12 years ago
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
Parents
Simon Craske
over 12 years ago
Note: This was originally posted on 3rd January 2011 at
http://forums.arm.com
http://www.ethernut.de/en/documents/arm-inline-asm.html
appears worth reading.
hth
s.
Cancel
Vote up
0
Vote down
Cancel
Reply
Simon Craske
over 12 years ago
Note: This was originally posted on 3rd January 2011 at
http://forums.arm.com
http://www.ethernut.de/en/documents/arm-inline-asm.html
appears worth reading.
hth
s.
Cancel
Vote up
0
Vote down
Cancel
Children
No data