
19-8
x86 MICROPROCESSORS
Data Pointer (DPTR) This is also an address register, and so, it is 16 bits in size.
However, it can be used as two 8-bit registers—DPH and DPL, with H and L standing
for high and low respectively, i.e., the MSB and LSB of the DPTR. See Fig. 19.5.
The DPTR is used as a pointer for accessing internal ROM and also for external
memory (if added to the chip).
19.2.4 | Ports
There are four 8-bit ports for 8051, and they are named 0 to 3. There are corresponding
port pins, and these are used to connect to the peripherals. The ports are designated as
P0, P1, P2 and P3 and can be used with such designations in programs. The ...