Skip to content

HL.ADDTPC

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

Assembly Syntax

  • hl.addtpc imm, ->{t, u, Rd}

Encoding

HL.ADDTPC 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)

rd = PC + SignExtend(imm);

Encoding Notes

No additional encoding notes.

Full Catalog Forms

Assembly Length Decode
hl.addtpc imm, ->{t, u, Rd} 48
← [PC-Relative](../groups/pc_relative.md)    [Index](../index.md)    [All instructions](index.md) →