c.sb

Stores a 8-bit value from register xs2 into memory. It computes an effective address by adding the zero-extended offset, to the base address in register xs1. It expands to `sb` `xs2, offset(xs1)`.

Synopsis

c.sb xs2, imm(xs1)

Encoding

Type:

01245679101500xs2immimmxs1100010

RISC-V Instruction Encoder/Decoder

open c.sb in rvcodecjs

Availability