bkpt

Breakpoint (A32)

BKPT #<imm>

Causes a software breakpoint.

Pseudocode Operation

GenerateException(Breakpoint)
PC ← (unchanged by architecture, debugger determines resumption)

Example

BKPT #16

Encoding

Binary Layout
cond
31:28
00010
27:23
01
22:21
0
20
imm12
19:8
0111
7:4
imm4
3:0
 
Format System
Opcode 0x01200070
Extension A32 (Base)

Operands

  • imm
    ID

Related

Other forms of bkpt

  • bkpt Breakpoint (Thumb)

More in A32 (Base)

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0x01200070 BKPT{<q>} {#}<imm> A32 cond | 00010 | 01 | 0 | imm12 | 0111 | imm4
0xBE00 BKPT{<q>} {#}<imm> T32 10111110 | imm8

Description

Breakpoint causes a Breakpoint Instruction exception. Breakpoint is always unconditional, even when inside an IT block.

Operation

EncodingSpecificOperations();
AArch32.SoftwareBreakpoint(imm16);