Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Simple asm question
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
118 subscribers
Views
2609 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
Simple asm question
Vincent R
over 12 years ago
Parents
Bhaveet Shah
over 12 years ago
Note: This was originally posted on 25th July 2009 at
http://forums.arm.com
Why does LR holds 0x42 ?
LR actually holds 0x43 and is used as a temporary register to store the 4th argument (3rd variadic one) on the stack - at offset 0x11020. After registers R0 to R3 are used, generally, other arguments are passed on the stack...
Cancel
Vote up
0
Vote down
Cancel
Reply
Bhaveet Shah
over 12 years ago
Note: This was originally posted on 25th July 2009 at
http://forums.arm.com
Why does LR holds 0x42 ?
LR actually holds 0x43 and is used as a temporary register to store the 4th argument (3rd variadic one) on the stack - at offset 0x11020. After registers R0 to R3 are used, generally, other arguments are passed on the stack...
Cancel
Vote up
0
Vote down
Cancel
Children
No data