Svc - ST STM32H7 Series Programming Manual

Hide thumbs Also See for STM32H7 Series:
Table of Contents

Advertisement

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)
Conditional execution on page
PM0214 Rev 9
PM0214
65.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32H7 Series and is the answer not in the manual?

Table of Contents

Save PDF