dbg

Debug Hint (Thumb)

DBG #<option>

Debug hint (Thumb).

Pseudocode Operation

// Debug hint - architecturally NOP
// Debugger may act on option field
PC ← PC + instruction_length

Example

DBG #option

Encoding

Binary Layout
111100111010
31:20
1
19
1
18
1
17
1
16
10
15:14
0
13
0
12
0
11
000
10:8
1111
7:4
option
3:0
 
Format Thumb System
Opcode 0xF3AF80F0
Extension T32 (Base)

Operands

  • option
    Opt

Related

Other forms of dbg

  • dbg Debug Hint

More in T32 (Base)

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0x0320F0F0 DBG{<c>}{<q>} #<option> A32 cond | 00110 | 0 | 10 | 00 | 00 | 1 | 1 | 1 | 1 | 00001111 | option
0xF3AF80F0 DBG{<c>}{<q>} #<option> T32 111100111010 | 1 | 1 | 1 | 1 | 10 | 0 | 0 | 0 | 000 | 1111 | option

Description

DBG executes as a NOP. Arm deprecates any use of the DBG instruction.

Operation

if ConditionPassed() then
    EncodingSpecificOperations();