Description

This instruction compares the contents of the accumulator with another memory held value and sets the zero and carry flags as appropriate.

C 	Carry Flag 	  Set if A >= M
Z 	Zero Flag 	  Set if A = M
I 	Interrupt Disable Not affected
D 	Decimal Mode Flag Not affected
B 	Break Command 	  Not affected
V 	Overflow Flag 	  Not affected
N 	Negative Flag 	  Set if bit 7 of the result is set

Cmp is referenced in 1 repository

github.com/nwidger/nintengo