The STM32 Cortex-M4 instruction set
3.11.10
SVC
Supervisor Call.
Syntax
SVC{cond} #imm
Where:
•
'cond' is an optional condition code, see
•
'imm' is an expression evaluating to an integer in the range 0-255 (8-bit value).
Operation
The SVC instruction causes the SVC exception. imm is ignored by the processor. If
required, it can be retrieved by the exception handler to determine what service is being
requested.
Condition flags
This instruction does not change the flags.
Examples
SVC
value
190/262
0x32
; Supervisor Call (SVC handler can extract the immediate
; by locating it via the stacked PC)
PM0214 Rev 10
Conditional execution on page
PM0214
65.
Need help?
Do you have a question about the STM32F3 Series and is the answer not in the manual?
Questions and answers