hlt

Halting Debug (A32)

HLT #<imm>

Enters halting debug state (A32 encoding).

Pseudocode Operation

DebugState ← Halted; DebugID ← imm16

Example

HLT #16

Encoding

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

Operands

  • imm
    ID

Related

Other forms of hlt

  • hlt Halting Debug-mode
  • hlt Halting Debug (Thumb)

More in A32 (Base)

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0x01000070 HLT{<q>} {#}<imm> A32 cond | 00010 | 00 | 0 | imm12 | 0111 | imm4
0xBA80 HLT{<q>} {#}<imm> T32 1011101010 | imm6

Description

Halting breakpoint causes a software breakpoint to occur. Halting breakpoint is always unconditional, even inside an IT block.

Operation

EncodingSpecificOperations();
boolean is_async = FALSE;
Halt(DebugHalt_HaltInstruction, is_async);