hlt

Halting Debug (Thumb)

HLT #<imm>

Enters halting debug state (Thumb encoding).

Pseudocode Operation

GenerateException(HaltingDebugException); breakpoint_id ← imm

Example

HLT #16

Encoding

Binary Layout
1011101010
15:6
imm6
5:0
 
Format Thumb System
Opcode 0xBA80
Extension T32 (Thumb)

Operands

  • imm
    ID

Related

Other forms of hlt

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

More in T32 (Thumb)

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);