Transfer Alternate Increment (TAI)
- Function
- Execute a memory move where the source address alternates between two addresses, and the destination address increments with each loop cycle. This is an extremely powerful instruction, mainly used for transferring data from the special video memory (e.g., backgrounds, etc) to the main memory. The flowchart below depicts how the algorithm proceeds (better than I can describe in words, anyhow.)

- Addressing Modes & Opcodes
-
-
| Addressing Mode
| Syntax
| Opcode
| # of bytes
| # of cycles
|
| Block Move
| TAI SHSL,DHDL, LHLL
| F3 SL SH DL DH LL LH
| 7
| 17 + 6x
|
-
- Flags Affected
-
-
| N
| V
| T
| B
| D
| I
| Z
| C
|
| -
| -
| 0
| -
| -
| -
| -
| -
|
-