juicebox_asm::insnTrait Cmp
source pub trait Cmp<T, U> {
// Required method
fn cmp(&mut self, op1: T, op2: U);
}
Expand description
Trait for cmp
instruction kinds.
Emit a compare instruction.
Computes op2 - op1
and sets the status flags in the same way as the sub
instruction,
the result is discarded.