What's the difference between CMP and CMN?
<p>The lecture slides says that CMN performs a comparison by 'adding' the 2's complement of the 2nd operand to the first operand, and CMP performs comparison by 'subtracting' the 2nd operand from the first operand. But by what I've learned so far, arm instructions within the processor performs additions only and subtraction is achieved by doing a 2's complement of the second operand(please, tell me if this is correct or not). So isn't CMN and CMP basically doing the same thing???</p>