© 2004 Microchip Technology Inc. DS70050C-page 3-3
Section 3. Data Memory
Data Memory
3
Figure 3-1: Example Data Memory Map
Note 1: The partition between the X and Y data spaces is device specific. Refer to the appropriate device
data sheet for further details. The data space boundaries indicated here are used for example
purposes only.
2: Near data memory can be accessed directly via file register instructions that encode a 13-bit
address into the opcode. At a minimum, the near data memory region overlaps all of the SFR
space and a portion of X memory space. All of X memory space and some or all of Y memory
space may be included in the near data memory region, depending on the device variant.
3: All data memory can be accessed indirectly via W registers or directly using the MOV instruction.
4: Upper half of data memory map can be mapped into a segment of program memory space for
program space visibility.
0x0000
0x07FE
0x17FE
LSByte
Address
16-bits
LSByteMSByte
MSByte
Address
0x0001
0x07FF
0x17FF
0xFFFF
X Data RAM
0x8001
0x8000
Provides Program
Space Visibility
Unimplemented
0x27FF
0x27FE
0x2800
0x2801
0x0801
0x0800
0x1801
0x1800
Near Data
Memory
0x1FFF
SFR Space
X Data RAM
Y Data RAM