sw

Store 32 bits of data from register `xs2` to an address formed by adding `xs1` to a signed offset.

Synopsis

sw xs2, imm(xs1)

Encoding

Type:

0671112141519202425310100011imm010xs1xs2imm
funct3: 010
opcode: 0100011

RISC-V Instruction Encoder/Decoder

open sw in rvcodecjs

Availability