CPY

Compare Memory and Index Y

Operation:  Y - M

N V - B D I Z C
/ . . . . . / /
Addressing ModeAssembly Language FormOP CODENo. BytesNo. Cycles
ImmediateCPY #$FF$C022
ZeroPageCPY $FF$C423
AbsoluteCPY $FFFF$CC34

For penalty cycles on the 65816, check the desired addressing mode.