AND "AND" memory with accumulator AND Operation: A /\ M -> A N V - B D I Z C / . . . . . / . +----------------+-----------------------+---------+---------+----------+ | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles| +----------------+-----------------------+---------+---------+----------+ | Immediate | AND #$FF | $29 | 2 | 2 | | ZeroPage | AND $FF | $25 | 2 | 3 | | ZeroPage,X | AND $FF,X | $35 | 2 | 4 | | Absolute | AND $FFFF | $2D | 3 | 4 | | Absolute,X | AND $FFFF,X | $3D | 3 | 4* | | Absolute,Y | AND $FFFF,Y | $39 | 3 | 4* | | (Indirect,X) | AND ($FF,X) | $21 | 2 | 6 | | (Indirect),Y | AND ($FF),Y | $31 | 2 | 5* | +----------------+-----------------------+---------+---------+----------+ * Add 1 if page boundary is crossed. For penalty cycles on the 65816, check the desired addressing mode. 65816 Extensions: +----------------+-----------------------+---------+---------+----------+ | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles| +----------------+-----------------------+---------+---------+----------+ | AbsoluteLong | AND $FFFFFF | $2F | 4 | 5 | | AbsoluteLong,X | AND $FFFFFF,X | $3F | 4 | 5 | | (Indirect) | AND ($FF) | $32 | 2 | 5 | | [Indirect Long]| AND [$FF] | $27 | 2 | 6 | | [Ind.Long],Y | AND [$FF],Y | $37 | 2 | 6 | | Relative,S | AND $FF,S | $23 | 2 | 4 | | (Indirect,S),Y | AND ($FF,S),Y | $33 | 2 | 7 | +----------------+-----------------------+---------+---------+----------+ |