dbg

Debug Hint

DBG #<option>

Provides a hint to the debug system.

Pseudocode Operation

Hint(DEBUG, option)

Example

DBG #option

Encoding

Binary Layout
cond
31:28
00110
27:23
0
22
10
21:20
00
19:18
00
17:16
1
15
1
14
1
13
1
12
00001111
11:4
option
3:0
 
Format System Hint
Opcode 0x0320F0F0
Extension A32 (Base)

Operands

  • option
    Option

Related

Other forms of dbg

  • dbg Debug Hint (Thumb)

More in A32 (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();