
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
693 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
2.10.10 SVC
Supervisor Call.
2.10.10.1
Syntax
SVC
{
cond
} #
imm
where:
cond
is an optional condition code, see
Section 34–2.3.7 “Conditional execution”
.
imm
is an expression evaluating to an integer in the range 0-255 (8-bit value).
2.10.10.2
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.
2.10.10.3
Condition flags
This instruction does not change the flags.
2.10.10.4
Examples
SVC
0x32
; Supervisor Call (SVC handler can extract the immediate value
; by locating it via the stacked PC)