c.sd

For RV64, store a 64-bit value in register xs2 to memory. For RV32 with Zclsd extension, store a 64-bit value from the combined values in register pair [xs2, xs2+1] to memory. It computes an effective address by adding the zero-extended offset, scaled by 8, to the base address in register xs1. It expands to `sd` `xs2, offset(xs1)`.

Synopsis

c.sd xs2, imm(xs1)

Encoding

Type:

012456791012131500xs2immxs1imm111

RISC-V Instruction Encoder/Decoder

open c.sd in rvcodecjs

Availability