Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Routine calls in Arm
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
2907 views
Users
0 members are here
Options
Share
More actions
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
Routine calls in Arm
Japan Dave
over 12 years ago
Note: This was originally posted on 19th July 2010 at
http://forums.arm.com
I have a quetion about mechanism used while making nested routine calls in ARM based products.
Say suppose at an instant my core is executing the routine A and routine B is invoked by encountering the instruction.
As it tells, the address of the immidiate instruction of routine A from where the execution turned its stream towards B is stoed on list register. Uptill this it is clear like crystal.
But what if now while routine B is executing any interrupt occurs or any call is made to say routine C . . .
Now we need to store the address of the next instruction of the B routine . .
If we store it onto the list register then how can we preserve its previous value which points to immediate instruction of routine A.
Pls eloberate on this.
Thanks in advance,
0
Quote