Skip to content

Commit

Permalink
ISA SPEC: Fix the c.addi4spn instruction's format (openhwgroup#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyoubJalali authored May 24, 2023
1 parent 99acdc2 commit be58d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/01_cva6_user/RISCV_Instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ Integer Computational Instructions

- **C.ADDI4SPN**: Addition Immediate Scaled by 4, to Stack Pointer

**Format**: c.addi4spn nzimm[9:2]
**Format**: c.addi4spn rd', nzimm[9:2]

**Description**: adds a zero-extended non-zero immediate, scaled by 4, to the stack pointer, x2, and writes the result to rd'. This instruction is used to generate pointers to stack-allocated variables.

Expand Down

0 comments on commit be58d57

Please sign in to comment.