This website uses cookies to personalize content and analyse traffic in order to offer you a better experience. By continuing to browse, you agree to our use of cookies. See our Cookie Policy for details. Cookie policy
8051 REGISTERS
DPTR is the 16-bit data pointer register in 8051, formed by DPH and DPL, and used for external memory access and table lookup operations.
DPTR is the 16-bit data pointer register in 8051, formed by DPH and DPL, and used for external memory access and table lookup operations.
DPTR consists of two 8-bit registers: DPH for the high byte and DPL for the low byte. Together they hold a 16-bit address, which is useful because the 8051 core is 8-bit but memory addresses can be wider.
DPTR is used with MOVX for external data memory and with MOVC for code memory table lookups. It is also useful for iterating through lookup tables, display patterns, and stored constants.
Use these related CourseTron guides to connect this topic with the complete embedded systems foundation.
DPTR is 16-bit, split into DPH and DPL registers.
MOVX and MOVC commonly use DPTR for external memory access and code memory lookup.