Compare
Subtracts source from destination and updates the flags but does not save result.
Flags can subsequently be checked for conditions.
The CMP instruction is typically used in conjunction with a conditional jump (Jcc), condition move (CMOVcc), or SETcc instruction.
The condition codes used by the Jcc, CMOVcc, and SETcc instructions are based on the results of a CMP instruction.