On-chip RAM consists of 128 bytes, ranging from address 00H to 7FH. The first 32 bytes (00H–1FH) are designated as the working register area, which is used for general-purpose data storage during program execution. Additionally, the on-chip RAM includes 128 bit-addressable bits, spread across 16 memory cells. These bits can be individually accessed and manipulated using bit-level addressing. The bit addresses range from 00H to 7FH and are located within the 20H–2FH memory block. This allows for efficient control of individual bits in specific registers. Among the 21 special function registers (SFRs) on the chip, certain bits that have addresses divisible by 8 are also bit-addressable, enabling direct manipulation of specific functions without affecting other bits. Off-chip RAM is addressable up to 64K bytes, covering the address range from 0000H to FFFFH. Similarly, off-chip ROM is also addressable up to 64K bytes, with the same address range of 0000H to FFFFH. The on-chip ROM contains 4K bytes, starting at address 000H and ending at FFFH. For further understanding, you may refer to the chapter on Semiconductor Memory, which provides a detailed overview of different types of memory used in microcontrollers. Jilin Nengxing Electrical Equipment Co. Ltd. , https://www.nengxingelectric.com