ROL ROL Rotate one bit left (memory or accumulator) ROL
+------------------------------+
| |
| +-+-+-+-+-+-+-+-+ +-+ |
Operation: +-< |7|6|5|4|3|2|1|0| <- |C| <-+ N V - B D I Z C
+-+-+-+-+-+-+-+-+ +-+ / . . . . . / /
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Accumulator | ROL A | $2A | 1 | 2 |
| ZeroPage | ROL $FF | $26 | 2 | 5 |
| ZeroPage,X | ROL $FF,X | $36 | 2 | 6 |
| Absolute | ROL $FFFF | $2E | 3 | 6 |
| Absolute,X | ROL $FFFF,X | $3E | 3 | 7 |
+----------------+-----------------------+---------+---------+----------+
For penalty cycles on the 65816, check the desired addressing mode.
|