lb

Load 8 bits of data into register `xd` from an address formed by adding `xs1` to a signed offset. Sign extend the result.

Synopsis

lb xd, imm(xs1)

Encoding

Type: I

067111214151920310000011xd000xs1imm
funct3: 000
opcode: 0000011

RISC-V Instruction Encoder/Decoder

open lb in rvcodecjs

Availability