C.SDSP

Compressed Store Doubleword to Stack Pointer

C.SDSP rs2, offset(x2)

Stores a 64-bit value to the stack pointer (RV64).

Details

Stores a 64-bit doubleword from rs2 to a stack-pointer-relative address (RV64).

Pseudocode Operation

M[R[2] + offset][63:0] = R[rs2];

Example

C.SDSP a1, 0(a0)

Encoding

Binary Layout
111
15:13
imm
rs2
12:8
10
7:6
 
Format CSS
Opcode 02
Extension C

Operands

  • rs2
    Source
  • offset
    Offset