CPY CPY Compare memory and index Y CPY
Operation: Y - M N V - B D I Z C
/ . . . . . / /
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Immediate | CPY #$FF | $C0 | 2 | 2 |
| ZeroPage | CPY $FF | $C4 | 2 | 3 |
| Absolute | CPY $FFFF | $CC | 3 | 4 |
+----------------+-----------------------+---------+---------+----------+
For penalty cycles on the 65816, check the desired addressing mode.
|