Texas Instruments TMS320C2XX User Manual
Page 237
LDP
Load Data Page Pointer
7-84
Cycles for a Single LDP Instruction (Using Direct and Indirect Addressing)
Program
Operand
ROM
DARAM
SARAM
External
DARAM
2
2
2
2+p
code
SARAM
2
2
2, 3
†
2+p
code
External
2+d
src
2+d
src
2+d
src
3+d
src
+p
code
† If the operand and the code are in the same SARAM block
Cycles for a Repeat (RPT) Execution of an LDP Instruction (Using Direct and
Indirect Addressing)
Program
Operand
ROM
DARAM
SARAM
External
DARAM
2n
2n
2n
2n+p
code
SARAM
2n
2n
2n, 2n+1
†
2n+p
code
External
2n+nd
src
2n+nd
src
2n+nd
src
2n+1+nd
src
p
code
† If the operand and the code are in the same SARAM block
Cycles for a Single LDP Instruction (Using Short Immediate Addressing)
ROM
DARAM
SARAM
External
2
2
2
2+p
code
Example 1
LDP
127
;(DP = 511: addresses FF80h–FFFFh)
Before Instruction
After Instruction
Data Memory
Data Memory
FFFFh
FEDCh
FFFFh FEDCh
DP
1FFh
DP
0DCh
Example 2
LDP
#0h
Before Instruction
After Instruction
DP
1FFh
DP
0h
Example 3
LDP
*,AR5
Before Instruction
After Instruction
ARP
4
ARP
5
AR4
300h
AR4
300h
Data Memory
Data Memory
300h
06h
300h
06h
DP
1FFh
DP
06h
Cycles