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

C 	Carry Flag 	  Set if Y >= M
Z 	Zero Flag 	  Set if Y = 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

Cpy is referenced in 1 repository