hlt

Halting Debug-mode

HLT #<imm>

Enters Halting debug mode.

Pseudocode Operation

BRK(imm16)

Example

HLT #16

Encoding

Binary Layout
11010100
31:24
010
23:21
imm16
20:5
000
4:2
00
1:0
 
Format Exception
Opcode 0xD4400000
Extension Base

Operands

  • imm
    ID

Related

Other forms of hlt

  • hlt Halting Debug (Thumb)
  • hlt Halting Debug (A32)

More in Base

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0xD4400000 HLT #<imm> A64 11010100 | 010 | imm16 | 000 | 00

Description

Halt instruction. An HLT instruction can generate a Halt Instruction debug event, which causes entry into Debug state. Within a guarded memory region, while PSTATE.BTYPE != 0b00, a HLT instruction that would cause entry into Debug state will not generate a Branch Target Exception and will cause entry into Debug state as normal. For more information, see PSTATE.BTYPE.

Operation

FaultRecord fault = NoFault();
Halt(DebugHalt_HaltInstruction, FALSE, fault);