openvm_transpiler::util

Function from_i_type

Source
pub fn from_i_type<F: PrimeField32>(
    opcode: usize,
    dec_insn: &IType,
) -> Instruction<F>
Expand description

Create a new Instruction from an I-type instruction. Should only be used for ALU instructions because imm is transpiled in a special way.