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
?
31:16
111
15:13
c_uimm9sp_s
12:7
c_rs2
6:2
10
1:0
 
Format CSS
Opcode 0x0000E002
Extension C

Operands

  • rs2
    Source
  • offset
    Offset