pub fn length_in_words(&self) -> usize {
        let len_from_values = match self {
            Self::NonBasic(op) => op.length_in_words(),
            Self::Set { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::And { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Bor { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Xor { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Add { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Sub { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Mul { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Shr { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Shl { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Div { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Mod { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ife { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ifn { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ifg { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ifb { a, b } => a.num_extra_words() + b.num_extra_words(),
        };

        // We're adding one to count this instruction in.
        1 + len_from_values
    }
/// Gets the length of the instruction in words.
Gets the length of the instruction in words.
Gets the length of the instruction in words .
pub fn length_in_words(&self) -> usize {
        let len_from_values = match self {
            Self::NonBasic(op) => op.length_in_words(),
            Self::Set { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::And { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Bor { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Xor { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Add { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Sub { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Mul { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Shr { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Shl { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Div { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Mod { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ife { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ifn { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ifg { a, b } => a.num_extra_words() + b.num_extra_words(),
            Self::Ifb { a, b } => a.num_extra_words() + b.num_extra_words(),
        };
        // We're adding one to count this instruction in.
        1 + len_from_values
    }
pub fn length_in_words ( & self ) -> usize { let len_from_values = match self { Self :: NonBasic ( op ) => op . length_in_words ( ) , Self :: Set { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: And { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Bor { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Xor { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Add { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Sub { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Mul { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Shr { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Shl { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Div { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Mod { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Ife { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Ifn { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Ifg { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , Self :: Ifb { a , b } => a . num_extra_words ( ) + b . num_extra_words ( ) , } ; // We're adding one to count this instruction in. 1 + len_from_values }
Gets the length of the instruction in words.
Gets the length of the instruction in words .
&self