Function o1vm::interpreters::riscv32im::interpreter::interpret_itype
source · pub fn interpret_itype<Env: InterpreterEnv>(env: &mut Env, instr: IInstruction)
Expand description
Interpret an I-type instruction. The encoding of an I-type instruction is as follows:
| 31 20 | 19 15 | 14 12 | 11 7 | 6 0 |
| immediate | rs1 | funct3 | rd | opcode |
Following the documentation found here