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