STX STX Store index X in memory STX
Operation: X -> M N V - B D I Z C
. . . . . . . .
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| ZeroPage | STX $FF | $86 | 2 | 3 |
| ZeroPage,Y | STX $FF,Y | $96 | 2 | 4 |
| Absolute | STX $FFFF | $8E | 3 | 4 |
+----------------+-----------------------+---------+---------+----------+
For penalty cycles on the 65816, check the desired addressing mode.
What it does: Stores the byte in the X Register into memory.
Major uses: Copies the byte in X into a byte in memory.