Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
SVC_Handler for Cortex M0
Locked
Locked
Replies
5 replies
Subscribers
119 subscribers
Views
9112 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
SVC_Handler for Cortex M0
Martijn Jonkers
over 12 years ago
Note: This was originally posted on 25th October 2012 at
http://forums.arm.com
Hello
we are trying to find a short implementation for the SVCHandler interrupt.
I want to do exactly like described here, but then a working version for the Cortex-m0:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0203j/BABFGEFG.html
and here:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s02s07.html
we have no experts at assembly and the only thing we need is to get the svc number and arguments.
But if someone can explain me how the svc handler works I would be greatly helped.
And maybe someone can point me in the right direction on how to return values : "[font=Verdana, Tahoma, Arial, Helvetica, sans-serif][size=2]Any return value must also be passed back to the caller by modifying the stacked register values[/size][/font]".
Thank you in advance!
Martijn
0
Quote