Skip to content

C.ADDI

16-bit C. **Group:** Arithmetic  |  Ch 12   ALU — Arithmetic Logic Unit  |  **Length:** 16  |  **Decode:**

Assembly Syntax

  • c.addi srcL, simm, ->t

Encoding

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

Description

[16-bit C.] Instruction from the Arithmetic group.

Pseudocode (informative)

rd = rs1 + SignExtend(imm12);

Encoding Notes

No additional encoding notes.

Full Catalog Forms

Assembly Length Decode
c.addi srcL, simm, ->t 16
← [Arithmetic](../groups/arithmetic.md)    [Index](../index.md)    [All instructions](index.md) →