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