Texas Instruments TMS320C2XX Calculator User Manual


 
Table Write
TBLW
7-191
Assembly Language Instructions
Cycles for a Repeat (RPT) Execution of a TBLW Instruction (Continued)
Program
Operand ROM DARAM SARAM External
Source: DARAM/ROM
Destination: SARAM
n+2 n+2 n+2
n+3
n+2+p
code
Source: SARAM
Destination: SARAM
n+2
2n
n+2
2n
n+2
2n
2n+1
§
n+2+p
code
2n
Source: External
Destination: SARAM
n+2+nd
src
n+2+nd
src
n+2+nd
src
n+3+nd
src
n+2+nd
src
+p
code
Source: DARAM/ROM
Destination: External
2n+2+np
dst
2n+2+np
dst
2n+2+np
dst
2n+3+np
dst
+p
code
Source: SARAM
Destination: External
2n+2+np
dst
2n+2+np
dst
2n+2+np
dst
2n+3+np
dst
+p
code
Source: External
Destination: External
4n+nd
src
+np
dst
4n+nd
src
+np
dst
4n+nd
src
+np
dst
4n+1+nd
src
+np
dst
+
p
code
If the destination operand and the code are in the same SARAM block
If both the source and the destination operands are in the same SARAM block
§
If both operands and the code are in the same SARAM block
Example 1 TBLW DAT5 ;(DP = 32: addresses 1000h–107Fh)
Before Instruction After Instruction
ACC 257h ACC 257h
Data Memory Data Memory
1005h 4339h 1005h 4339h
Program Memory Program Memory
257h 306h 257h 4399h
Example 2 TBLW *
Before Instruction After Instruction
ARP 6 ARP 6
AR6 1006h AR6 1006h
ACC 258h ACC 258h
Data Memory Data Memory
1006h 4340h 1006h 4340h
Program Memory Program Memory
258h 307h 258h 4340h