Microchip Technology ARD00385 Data Sheet

Page of 570
 2009-2011 Microchip Technology Inc.
DS39957D-page 93
PIC18F87K90 FAMILY
FIGURE 6-6:
DATA MEMORY MAP FOR PIC18FX5K90 AND PIC18FX7K90 DEVICES 
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 specifies the bank
used by the instruction. 
Access RAM High
Access RAM Low
(SFRs)
Bank 0
Bank 1
Bank 14
Bank 15
Data Memory Map
BSR<3:0>
= 0000
= 0001
= 1111
060h
05Fh
F60h
FFFh
F5Fh
F00h
EFFh
1FFh
100h
0FFh
000h
Access RAM
FFh
00h
FFh
00h
FFh
00h
GPR
GPR
SFR
Bank 2
= 0010
2FFh
200h
Bank 3
FFh
00h
GPR
FFh
= 0011
GPR
(1,2)
 
GPR
GPR
GPR
GPR
GPR
4FFh
400h
5FFh
500h
3FFh
300h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
00h
= 0110
= 0111
= 0101
= 0100
Bank 4
Bank 5
Bank 6
Bank 7
Bank 8
= 1110
6FFh
600h
7FFh
700h
800h
Bank 9
Bank 10
Bank 11
Bank 12
Bank 13
8FFh
900h
9FFh
A00h
AFFh
B00h
BFFh
C00h
CFFh
D00h
DFFh
E00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
GPR
(1,2)
 
GPR
(2)
 
GPR
(2)
 
GPR
(2)
 
GPR
(2)
 
GPR
(2)
 
GPR
(2)
 
Note 1:
Addresses, EF4h through F5Fh, are also used by SFRs, but are not part of the Access RAM. Users must
always use the complete address, or load the proper BSR value, to access these registers.
2:
These addresses are unused for devices with 32 Kbytes of program memory (PIC18FX5K90). For those
devices, read these addresses at 00h.
= 1000
= 1001 
= 1010 
= 1011 
= 1100 
= 1101