◄Summary► ◄Detail► ◄Example► ◄Key to Flags► ────────────────────────────────────────────────────────────────────────────── Compare Two Operands Flags: O D I T S Z A P C Syntax: CMP dest,src ═════════════════ ± ± ± ± ± ± Compares two operands as a test for a subsequent conditional jump or set instruction. CMP does this by subtracting the source operand from the destination operand and setting the flags according to the result. CMP is the same as the SUB instruction, except that the result is not stored. -♦-