c.lhu

Loads a 16-bit value from memory into register xd. It computes an effective address by adding the zero-extended offset, to the base address in register xs1. It expands to `lhu` `xd, offset(xs1)`.

Synopsis

c.lhu xd, imm(xs1)

Encoding

Type:

01245679101500xdimm0xs1100001

RISC-V Instruction Encoder/Decoder

open c.lhu in rvcodecjs

Availability