C.SD

Compressed Store Doubleword

C.SD rs2', offset(rs1')

Stores a 64-bit value to memory (Compressed, RV64).

Details

Stores a 64-bit doubleword from rs2′ to memory at an 8-bit offset from rs1′ (RV64).

Pseudocode Operation

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

Example

C.SD rs2', 0(a0)

Encoding

Binary Layout
111
15:13
imm
rs1'
12:10
imm
rs2'
9:7
00
6:5
 
Format CS
Opcode 00
Extension C

Operands

  • rs2'
    Source (x8-x15)
  • rs1'
    Base (x8-x15)
  • offset
    Offset