c.sext.b

Takes a single source/destination operand. This instruction sign-extends the least-significant byte of the source to XLEN by copying the most-significant bit in the byte (i.e., bit 7) to all of the more-significant bits.

Synopsis

c.sext.b xd

Encoding

Type:

067910151100101xd100111

RISC-V Instruction Encoder/Decoder

open c.sext.b in rvcodecjs

Availability