Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM stack alignment on exception entry
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
118 subscribers
Views
6153 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 stack alignment on exception entry
Lucas Tschuor
over 12 years ago
Note: This was originally posted on 8th November 2011 at
http://forums.arm.com
Hello everybody,
The Application Binary Interface (ABI) for the ARM architecture requires that the stack must be eight-byte aligned on exception entry. The default stack alignment for Cortex-M3 is 4 byte and not 8 byte, why this ambiguity?
Why is it required anyway to configure the 8 byte stack alignment if it also works with 4 byte? Is there any reason?
Regards,
affonpign
Parents
Lucas Tschuor
over 12 years ago
Note: This was originally posted on 8th November 2011 at
http://forums.arm.com
Hello everybody,
The Application Binary Interface (ABI) for the ARM architecture requires that the stack must be eight-byte aligned on exception entry. The default stack alignment for Cortex-M3 is 4 byte and not 8 byte, why this ambiguity?
Why is it required anyway to configure the 8 byte stack alignment if it also works with 4 byte? Is there any reason?
Regards,
affonpign
Cancel
Vote up
0
Vote down
Cancel
Reply
Lucas Tschuor
over 12 years ago
Note: This was originally posted on 8th November 2011 at
http://forums.arm.com
Hello everybody,
The Application Binary Interface (ABI) for the ARM architecture requires that the stack must be eight-byte aligned on exception entry. The default stack alignment for Cortex-M3 is 4 byte and not 8 byte, why this ambiguity?
Why is it required anyway to configure the 8 byte stack alignment if it also works with 4 byte? Is there any reason?
Regards,
affonpign
Cancel
Vote up
0
Vote down
Cancel
Children
No data