sh

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

Synopsis

sh xs2, imm(xs1)

Encoding

Type:

0671112141519202425310100011imm001xs1xs2imm
funct3: 001
opcode: 0100011

RISC-V Instruction Encoder/Decoder

open sh in rvcodecjs

Availability