TSB TSB Test and Set Bit TSB
N V M X D I Z C
Operation: A V W -> W . . . . . . / .
4510 Versions:
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Direct Page | TSB $FF | $04 | 2 | 3r |
| Absolute | TSB $FFFF | $0C | 3 | 5r |
+----------------+-----------------------+---------+---------+----------+
r Add 1 if clock speed is at 40 MHz
65816 Versions:
+----------------+-----------------------+---------+---------+----------+
| Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
+----------------+-----------------------+---------+---------+----------+
| Absolute | TSB $FFFF | $0C | 3 | 4 |
| Direct Page | TSB $FF | $04 | 2 | 3 |
+----------------+-----------------------+---------+---------+----------+
For penalty cycles on the 65816, check the desired addressing mode.