c.fswsp

Stores a single-precision floating-point value in floating-point register fs2 to memory. It computes an effective address by adding the zero-extended offset, scaled by 4, to the stack pointer, x2. It expands to `fsw` `fs2, offset(x2)`.

Synopsis

c.fswsp fs2, imm(sp)

Encoding

Type:

012678912131510fs2immimm111

RISC-V Instruction Encoder/Decoder

open c.fswsp in rvcodecjs

Availability