Datasheet

PIC18F6520/8520/6620/8620/6720/8720
DS39609C-page 48 2003-2013 Microchip Technology Inc.
FIGURE 4-6: DATA MEMORY MAP FOR PIC18FX520 DEVICES
Bank 0
Bank 1
Bank 6
Bank 15
Data Memory Map
BSR<3:0>
= 0000
= 0001
= 1110
= 1111
060h
05Fh
F60h
FFFh
00h
5Fh
60h
FFh
Access Bank
When a = 0,
the BSR is ignored and the
Access Bank is used.
The first 96 bytes are General
Purpose RAM (from Bank 0).
The second 160 bytes are
Special Function Registers
(from Bank 15).
When a = 1,
the BSR is used to specify the
RAM location that the instruction
uses.
Bank 7
Bank 2
F5Fh
F00h
EFFh
7FFh
300h
2FFh
200h
1FFh
100h
0FFh
000h
= 0011
= 0010
Access RAM
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
GPRs
GPRs
GPRs
SFRs
Unused
Access RAM High
Access RAM Low
Bank 3
to
6FFh
800h
700h
= 0110
(SFRs)
GPRs
Unused,
GPRs
FFh
00h
Bank 14
Bank 8
to
Read as0
= 0111
= 1000