Table Read
TBLR
7-187
Assembly Language Instructions
Cycles
Cycles for a Single TBLR 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+p
src
3+p
src
3+p
src
3+p
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+p
src
3+p
src
3+p
src
4+p
src
†
3+p
src
+p
code
Source: DARAM/ROM
Destination: External
4+d
dst
4+d
dst
4+d
dst
6+d
dst
+p
code
Source: SARAM
Destination: External
4+d
dst
4+d
dst
4+d
dst
6+d
dst
+p
code
Source: External
Destination: External
4+p
src
+d
dst
4+p
src
+d
dst
4+p
src
+d
dst
6+p
src
+d
dst
+p
code
† If the destination operand and the code are in the same SARAM block
Cycles for a Repeat (RPT) Execution of a TBLR 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+np
src
n+2+np
src
n+2+np
src
n+2+np
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