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