Skip to content

HL.SETRET

48-bit HL. **Group:** PC-Relative  |  Ch 16   BRU — Branch and Compare  |  **Length:** 48  |  **Decode:**

Assembly Syntax

  • hl.setret imm, ->Ra

Encoding

HL.SETRET encoding
Bitfield encoding diagram. MSB is on the left, LSB on the right.

Description

[48-bit HL.] Instruction from the PC-Relative group.

Pseudocode (informative)

ra = PC + ZeroExtend(imm << 1);

Encoding Notes

No additional encoding notes.

Full Catalog Forms

Assembly Length Decode
hl.setret imm, ->Ra 48
← [PC-Relative](../groups/pc_relative.md)    [Index](../index.md)    [All instructions](index.md) →