lhu

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

Synopsis

lhu xd, imm(xs1)

Encoding

Type: I

067111214151920310000011xd101xs1imm
funct3: 101
opcode: 0000011

RISC-V Instruction Encoder/Decoder

open lhu in rvcodecjs

Availability