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

SMC instruction

Note: This was originally posted on 22nd January 2013 at http://forums.arm.com

Good day.

I have a question - where I can get the #immediate value (4bit) in Secure Monitor Exception Handler, when called SMC instruction with non zero parametr - #imm-4 ?
Don't found this value in any registers.


From ARM documentation.
-------------------------------------

SMC
Secure Monitor Call.


Syntax
SMC{cond} #imm4 where:

[i]imm4[/i]is a 4-bit immediate value. This is ignored by the ARM processor, but can be used by the SMC exception handler to determine what service is being requested.


Thanks.
0