LDA LDA Load accumulator with memory LDA
Operation: M -> A N V - B D I Z C
/ . . . . . / .
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Immediate | LDA #$FF | $A9 | 2 | 2 |
| ZeroPage | LDA $FF | $A5 | 2 | 3 |
| ZeroPage,X | LDA $FF,X | $B5 | 2 | 4 |
| Absolute | LDA $FFFF | $AD | 3 | 4 |
| Absolute,X | LDA $FFFF,X | $BD | 3 | 4* |
| Absolute,Y | LDA $FFFF,Y | $B9 | 3 | 4* |
| (Indirect,X) | LDA ($FF,X) | $A1 | 2 | 6 |
| (Indirect),Y | LDA ($FF),Y | $B1 | 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 | LDA $FFFFFF | $AF | 4 | 5 |
| AbsoluteLong,X | LDA $FFFFFF,X | $BF | 4 | 5 |
| (Indirect) | LDA ($FF) | $B2 | 2 | 5 |
| [Indirect Long]| LDA [$FF] | $A7 | 2 | 6 |
| [Ind.Long],Y | LDA [$FF],Y | $B7 | 2 | 6 |
| Relative,S | LDA $FF,S | $A3 | 2 | 4 |
| (Indirect,S),Y | LDA ($FF,S),Y | $B3 | 2 | 7 |
+----------------+-----------------------+---------+---------+----------+
|