Program Counter and Data Pointer The 8051 contains two 16-bit registers-the program counter(PC) and data pointer(DPTR). Each is used to hold the address of a byte in memory. Program instruction bytes are fetched from locations in memory that are addressed by PC. Program ROM may be on the chip at address 000h to 0FFFh, external to the chip for addresses from 0000h to FFFFh. The PC is automatically incremented after every instruction bytes is fetched and may also be altered by certain instructions. The PC is the only register that does not have an external address. The DPTR register is made up of two 8-bit registers named DPH and DPL which are used to furnish memory address for internal and external code access. The DPTR is under control of program instructions and can be specified by its 16-bit name DPTRor by each individual byte name, DPH and DPL. DPTR does not have a single internal address: DPL and DPH are each assigned an address. A and B CPU registers The 8051 contains 34...