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