┌──┬──┬──┬──┬──┬──┬──┬──┐ │OF│DF│IF│SF│ZF│AF│PF│CF│ ├──┼──┼──┼──┼──┼──┼──┼──┤ │* │ │ │* │* │* │* │* │ └──┴──┴──┴──┴──┴──┴──┴──┘
The CF, PF, AF, SF, and OF flags are affected as if a CMP instruction had been run with DEST and the accumulator as operands. The ZF flag is set if the destination operand and the accumulator are equal; otherwise it is cleared.