addiw

Add an immediate to the 32-bit value in xs1, and store the sign extended result in xd

Synopsis

addiw xd, xs1, imm

Encoding

Type: I

067111214151920310011011xd000xs1imm
funct3: 000
opcode: 0011011

RISC-V Instruction Encoder/Decoder

open addiw in rvcodecjs

Availability