INC
Increment Memory by One
Operation: M + 1 -> M
N V - B D I Z C / . . . . . / .
| Addressing Mode | Assembly Language Form | OP CODE | No. Bytes | No. Cycles |
|---|---|---|---|---|
| ZeroPage | INC $FF | $E6 | 2 | 5 |
| ZeroPage,X | INC $FF,X | $F6 | 2 | 6 |
| Absolute | INC $FFFF | $EE | 3 | 6 |
| Absolute,X | INC $FFFF,X | $FE | 3 | 7 |
For penalty cycles on the 65816, check the desired addressing mode.