Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
LDR Register Assignment
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
118 subscribers
Views
3392 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
LDR Register Assignment
Taylor Deiaco
over 12 years ago
Note: This was originally posted on 22nd February 2012 at
http://forums.arm.com
Here I'm doing basic assignments and read write routines for
verfication:
ldr r1, StartRegs
...
StartRegs: .word 0x00000989
This code worked fine, but a few lines down the program I try
to assign r4 a value just like StartRegs. Instead of being able to
use the same format in the previous code I posted, it was neccessary
to use this format:
ldr r4, =EndRegs
...
EndRegs: .word 0xFFFFFFFF
If I didn't use the "=" operator, r4 was never stored with anything. My question
is why did I have to use the "=" operator in one part of the code as opposed to
another part of the code?
Parents
Taylor Deiaco
over 12 years ago
Note: This was originally posted on 29th February 2012 at
http://forums.arm.com
Thanks guys.
Cancel
Vote up
0
Vote down
Cancel
Reply
Taylor Deiaco
over 12 years ago
Note: This was originally posted on 29th February 2012 at
http://forums.arm.com
Thanks guys.
Cancel
Vote up
0
Vote down
Cancel
Children
No data