Datasheet

Table Of Contents
25
AT89C51ID2
4289C–8051–11/05
Dual Data Pointer
Register DPTR
The additional data pointer can be used to speed up code execution and reduce code
size.
The dual DPTR structure is a way by which the chip will specify the address of an exter-
nal data memory location. There are two 16-bit DPTR registers that address the external
memory, and a single bit called DPS = AUXR1.0 (see Table 23) that allows the program
code to switch between them (Refer to Figure 5).
Figure 5. Use of Dual Pointer
External Data Memory
AUXR1(A2H)
DPS
DPH(83H) DPL(82H)
07
DPTR0
DPTR1