openvm_transpiler::util

Function from_r_type

Source
pub fn from_r_type<F: PrimeField32>(
    opcode: usize,
    e_as: usize,
    dec_insn: &RType,
) -> Instruction<F>
Expand description

Create a new Instruction from an R-type instruction.