TBLW
Table Write
7-190
Cycles
Cycles for a Single TBLW Instruction
Program
Operand
ROM
DARAM
SARAM
External
Source: DARAM/ROM
Destination: DARAM
3
3
3
3+p
code
Source: SARAM
Destination: DARAM
3
3
3
3+p
code
Source: External
Destination: DARAM
3+d
src
3+d
src
3+d
src
3+d
src
+p
code
Source: DARAM/ROM
Destination: SARAM
3
3
3
4
†
3+p
code
Source: SARAM
Destination: SARAM
3
3
3
4
†
3+p
code
Source: External
Destination: SARAM
3+d
src
3+d
src
3+d
src
4+d
src
†
3+d
src
+p
code
Source: DARAM/ROM
Destination: External
4+p
dst
4+p
dst
4+p
dst
5+p
dst
+p
code
Source: SARAM
Destination: External
4+p
dst
4+p
dst
4+p
dst
5+p
dst
+p
code
Source: External
Destination: External
4+d
src
+p
dst
4+d
src
+p
dst
4+d
src
+p
dst
5+d
src
+p
dst
+p
code
† If the destination operand and the code are in the same SARAM block
Cycles for a Repeat (RPT) Execution of a TBLW Instruction
Program
Operand
ROM
DARAM
SARAM
External
Source: DARAM/ROM
Destination: DARAM
n+2
n+2
n+2
n+2+p
code
Source: SARAM
Destination: DARAM
n+2
n+2
n+2
n+2+p
code
Source: External
Destination: DARAM
n+2+nd
src
n+2+nd
src
n+2+nd
src
n+2+nd
src
+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