pub fn interpret_rtype<Env: InterpreterEnv>(env: &mut Env, instr: RInstruction)
Expand description

Interpret an R-type instruction. The encoding of an R-type instruction is as follows:

| 31               25 | 24      20 | 19     15 | 14        12 | 11    7 | 6      0 |
| funct5 & funct 2    |     rs2    |    rs1    |    funct3    |    rd   |  opcode  |

Following the documentation found here