R-type
Last updated
Last updated
opcode: partially specifies what instruction it is
Note: This field is equal to 0110011 for all R-format register-register arithmetic instructions
funct7 + funct3: combined with opcode, these two fields describe what operation to perform
rs1(Source Register #1): specifies register containing first operand
rs2: specifies second register operand
rd(Destination Register): specifies register which will receive result of computation
Here is our datapath for R-format instructions.