risc-v

Definition

I-Type Instruction (RISC-V)

An I-type instruction encodes one source register and a sign-extended immediate. It is used for immediate arithmetic, loads, and some control-flow instructions.

Synopsis

I-type instructions use one source register (rs1) and a 12-bit immediate (imm_{11:0}).

The remaining fields provide the operation encoding:

  • funct3 selects the specific operation.
  • rd names the destination register.
  • op identifies the instruction as an I-type instruction.