c.sdsp

Stores a 64-bit value in register rs2 to memory. It computes an effective address by adding the zero-extended offset, scaled by 8, to the stack pointer, x2. It expands to `sd` `xs2, offset(x2)`.

Synopsis

c.sdsp xs2, imm(sp)

Encoding

Type:

0126791012131510xs2immimm111

RISC-V Instruction Encoder/Decoder

open c.sdsp in rvcodecjs

Availability