
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
684 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
2.10.1 BKPT
Breakpoint.
2.10.1.1
Syntax
BKPT
#
imm
where:
imm
is an expression evaluating to an integer in the range 0-255 (8-bit value).
2.10.1.2
Operation
The
BKPT
instruction causes the processor to enter Debug state. Debug tools can use this
to investigate system state when the instruction at a particular address is reached.
imm
is ignored by the processor. If required, a debugger can use it to store additional
information about the breakpoint.
The
BKPT
instruction can be placed inside an IT block, but it executes unconditionally,
unaffected by the condition specified by the
IT
instruction.
2.10.1.3
Condition flags
This instruction does not change the flags.
2.10.1.4
Examples
BKPT 0xAB
; Breakpoint with immediate value set to 0xAB (debugger can
; extract the immediate value by locating it using the PC)