Tblr – Texas Instruments TMS320C2XX User Manual

Page 341

Advertising
background image

TBLR

Table Read

7-188

Cycles for a Repeat (RPT) Execution of a TBLR Instruction (Continued)

Program

Operand

ROM

DARAM

SARAM

External

Source: DARAM/ROM
Destination: SARAM

n+2

n+2

n+2
n+4

n+2+p

code

Source: SARAM
Destination: SARAM

n+2
2n

n+2
2n

n+2
2n

2n+2

§

n+2+p

code

2n

Source: External
Destination: SARAM

n+2+np

src

n+2+np

src

n+2+np

src

n+4+np

src

n+2+np

src

+p

code

Source: DARAM/ROM
Destination: External

2n+2+nd

dst

2n+2+nd

dst

2n+2+nd

dst

2n+4+nd

dst

+p

code

Source: SARAM
Destination: External

2n+2+nd

dst

2n+2+nd

dst

2n+2+nd

dst

2n+4+nd

dst

+p

code

Source: External
Destination: External

4n+np

src

+nd

dst

4n+np

src

+nd

dst

4n+np

src

+nd

dst

4n+2+np

src

+nd

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

TBLR

DAT6

;(DP = 4: addresses 0200h–027Fh)

Before Instruction

After Instruction

ACC

23h

ACC

23h

Program Memory

Program Memory

23h

306h

23h

306h

Data Memory

Data Memory

206h

75h

206h

306h

Example 2

TBLR

*,AR7

Before Instruction

After Instruction

ARP

0

ARP

7

AR0

300h

AR0

300h

ACC

24h

ACC

24h

Program Memory

Program Memory

24h

307h

24h

307h

Data Memory

Data Memory

300h

75h

300h

307h

Advertising