Skip to content

ADDTPC

32-bit Base **Group:** PC-Relative  |  Ch 16   BRU — Branch and Compare  |  **Length:** 32  |  **Decode:**

Assembly Syntax

  • addtpc simm, ->{t, u, Rd}

Encoding

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

Description

PC-relative addition. Adds an immediate to the current PC/TPC and writes the result.

Pseudocode (informative)

rd = PC + SignExtend(imm);

Encoding Notes

No additional encoding notes.

Full Catalog Forms

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