Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM Linker Address Map
Jump...
Cancel
Locked
Locked
Replies
5 replies
Subscribers
119 subscribers
Views
4340 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
ARM Linker Address Map
Senthil Ramakrishnan
over 12 years ago
Note: This was originally posted on 22nd November 2009 at
http://forums.arm.com
Hi All,
Im new to this forum and pretty new to ARM development.
When Im compiling my SW in THumb mode the symbol names
in .map file shows Unaligned memory addresses(Eg: 0x225571).
But the symbol is actually placed in address aligned address(0x225570).
Can anybody explain why linker map shows unaligned address?
Thanks
Parents
Simon Craske
over 12 years ago
Note: This was originally posted on 22nd November 2009 at
http://forums.arm.com
The least significant bit of the address is used by some ARM/Thumb instructions to determine the instruction set to use, e.g.
[font="Lucida Console"]MOV r0,#0x21
BX r0[/font]
Branches to address 0x20, and switches to Thumb state, whilst:
[font="Lucida Console"]MOV r0,#0x20
BX r0[/font]
Branches to address 0x20, and switches to ARM state.
hth
s.
Cancel
Vote up
0
Vote down
Cancel
Reply
Simon Craske
over 12 years ago
Note: This was originally posted on 22nd November 2009 at
http://forums.arm.com
The least significant bit of the address is used by some ARM/Thumb instructions to determine the instruction set to use, e.g.
[font="Lucida Console"]MOV r0,#0x21
BX r0[/font]
Branches to address 0x20, and switches to Thumb state, whilst:
[font="Lucida Console"]MOV r0,#0x20
BX r0[/font]
Branches to address 0x20, and switches to ARM state.
hth
s.
Cancel
Vote up
0
Vote down
Cancel
Children
No data