bexti

Returns a single bit extracted from xs1 at the index specified in xs2. The index is read from the lower log2(XLEN) bits of shamt. For RV32, the encodings corresponding to shamt[5]=1 are reserved.

Synopsis

bexti xd, xs1, shamt

Encoding

Type:

0671112141519202425310010011xd101xs1shamt0100100

RISC-V Instruction Encoder/Decoder

open bexti in rvcodecjs

Availability