Computer Science, Assembly Language, Programming, Math, Motorola.
work? All the CMP instruction does is subtract the operand from the appropriate accumulator. In fact it does exactly the same operation that the SUB instruction does, except it just throws away the numeric result of the subtraction. But all of the status flags are set as if the subtraction