Definition
R-Type Instruction (RISC-V)
An R-type instruction encodes an operation on two source registers and one destination register. It is used for register-register arithmetic and logical operations.
Synopsis
R-type instructions use three register operands: two source registers (rs1, rs2) and one destination register (rd).
The remaining fields provide the operation encoding:
funct7selects the high-level variant.funct3selects the specific operation within that variant.opidentifies the instruction as an R-type register-register operation.