lw

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

Synopsis

lw xd, imm(xs1)

Encoding

Type: I

067111214151920310000011xd010xs1imm
funct3: 010
opcode: 0000011

RISC-V Instruction Encoder/Decoder

open lw in rvcodecjs

Availability