Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM Intrinsics Syntax
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
118 subscribers
Views
3062 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
ARM Intrinsics Syntax
Sajid Rabbani Avagundam
over 12 years ago
Parents
Sajid Rabbani Avagundam
over 12 years ago
Note: This was originally posted on 14th July 2011 at
http://forums.arm.com
we have able to identify the general form of an inline assembler statement:
asm(code : output operand list : input operand list : clobber list);with this, we derived as below for our above example:
#define ADD(sum, input1, input2) asm("add %0, %1, %2" : "=r"(sum) : "r"(input1),"r"(input2))
with this, three operand inline assembly is working fine
.
Cancel
Vote up
0
Vote down
Cancel
Reply
Sajid Rabbani Avagundam
over 12 years ago
Note: This was originally posted on 14th July 2011 at
http://forums.arm.com
we have able to identify the general form of an inline assembler statement:
asm(code : output operand list : input operand list : clobber list);with this, we derived as below for our above example:
#define ADD(sum, input1, input2) asm("add %0, %1, %2" : "=r"(sum) : "r"(input1),"r"(input2))
with this, three operand inline assembly is working fine
.
Cancel
Vote up
0
Vote down
Cancel
Children
No data