Microchip Technology DM164134 Data Sheet
PIC18FXX8
DS41159E-page 46
© 2006 Microchip Technology Inc.
FIGURE 4-6:
DATA MEMORY MAP FOR PIC18F258/458
Bank 0
Bank 1
Bank 14
Bank 15
Data Memory Map
BSR<3:0>
= 0000
= 0001
= 1110
= 1111
060h
05Fh
F60h
FFFh
FFFh
00h
5Fh
60h
FFh
Access Bank
Bank 4
Bank 3
Bank 2
F5Fh
F00h
EFFh
3FFh
300h
2FFh
200h
1FFh
100h
0FFh
000h
= 0110
= 0101
= 0011
= 0010
Access RAM
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
FFh
00h
GPR
GPR
GPR
GPR
SFR
SFR
Access Bank high
Access Bank low
Bank 5
GPR
GPR
Bank 6
to
4FFh
400h
5FFh
500h
600h
Unused
Read ‘00h’
= 0100
(SFR)
When a = 0,
the BSR is ignored and the
Access Bank is used.
Access Bank is used.
The first 96 bytes are
general purpose RAM
(from Bank 0).
general purpose RAM
(from Bank 0).
The next 160 bytes are
Special Function Registers
(from Bank 15).
Special Function Registers
(from Bank 15).
When a = 1,
the BSR is used to specify
the RAM location that the
instruction uses.
the RAM location that the
instruction uses.
(GPR)