Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
InterlockedExchangeAdd equivalent
Jump...
Cancel
Locked
Locked
Replies
9 replies
Subscribers
119 subscribers
Views
5957 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
InterlockedExchangeAdd equivalent
Doug Price
over 12 years ago
Note: This was originally posted on 11th February 2013 at
http://forums.arm.com
I'm porting a Windows application to an ARM® Cortex-A9 based system running Ubuntu 12.04 and I need something equivalent the Windows function InterlockedExchangeAdd(). Is there a function like this available for ARM? If not, can anyone provide some equivalent assembly code?
Parents
Alban Rampon
over 12 years ago
Note: This was originally posted on 11th February 2013 at
http://forums.arm.com
There is an electronic book you can get. It's called the
ARM Cortex-A Programmers' Guide
, you need to be logged in but it's free.
Generally speaking, all ARM documentation is under
ARM Infocenter
and is kept up to date there.
LDREX and STREX are both supported in the ARMv7 ARM Cortex-A9 processor:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388i/CBBDIIFI.html
Cancel
Vote up
0
Vote down
Cancel
Reply
Alban Rampon
over 12 years ago
Note: This was originally posted on 11th February 2013 at
http://forums.arm.com
There is an electronic book you can get. It's called the
ARM Cortex-A Programmers' Guide
, you need to be logged in but it's free.
Generally speaking, all ARM documentation is under
ARM Infocenter
and is kept up to date there.
LDREX and STREX are both supported in the ARMv7 ARM Cortex-A9 processor:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388i/CBBDIIFI.html
Cancel
Vote up
0
Vote down
Cancel
Children
No data