Datasheet
2012 Microchip Technology Inc. DS30684A-page 85
PIC18(L)F2X/45K50
FIGURE 6-5: DATA MEMORY MAP FOR PIC18(L)F2X/45K50 DEVICES
Bank 0
Bank 1
Bank 14
Bank 15
Data Memory Map
BSR<3:0>
= 0000
= 0001
= 1111
060h
05Fh
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.
1FFh
100h
0FFh
000h
Access RAM
FFh
00h
FFh
00h
GPR
GPR
Access RAM High
Access RAM Low
Bank 2
= 0110
= 0010
(SFRs)
2FFh
200h
3FFh
300h
4FFh
400h
5FFh
500h
6FFh
600h
7FFh
700h
8FFh
800h
9FFh
900h
AFFh
A00h
BFFh
B00h
CFFh
C00h
DFFh
D00h
E00h
Bank 3
Bank 4
Bank 5
Bank 6
Bank 7
Bank 8
Bank 9
Bank 10
Bank 11
Bank 12
Bank 13
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
GPR
FFh
00h
= 0011
= 0100
= 0101
= 0111
= 1000
= 1001
= 1010
= 1011
= 1100
= 1101
= 1110
GPR
GPR
(2)
GPR
(2)
GPR
(2)
GPR
(2)
Note 1: Addresses F53h 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 banks also serve as RAM
buffer for USB operation. See
Section 6.4.1 “USB RAM” for
more information.
F60h
FFFh
F5Fh
F00h
FFh
00h
SFR
(1)
Unimplemented
SFR
F53h
F52h
Unimplemented.
Read as 00h.
Unimplemented.
Read as 00h.
Unimplemented.
Read as 00h.
Unimplemented.
Read as 00h.
Unimplemented.
Read as 00h.
Unimplemented.
Read as 00h.
Unimplemented.
Read as 00h.