English
Language : 

PIC18F258 Datasheet, PDF (48/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
FIGURE 4-6:
DATA MEMORY MAP FOR PIC18F258/458
BSR<3:0>
= 0000
= 0001
= 0010
= 0011
= 0100
= 0101
Data Memory Map
00h
Bank 0
FFh
00h
Bank 1
FFh
00h
Bank 2
FFh
00h
Bank 3
FFh
Access RAM
GPR
GPR
GPR
GPR
Bank 4
GPR
00h
Bank 5
FFh
GPR
000h
05Fh
060h
0FFh
100h
1FFh
200h
2FFh
300h
3FFh
400h
4FFh
500h
5FFh
600h
Access Bank
00h
Access Bank low 5Fh
(GPR)
60h
Access Bank high
(SFR)
FFh
= 0110
= 1110
Bank 6
to
Bank 14
Unused
Read ‘00h’
= 1111
00h
Bank 15
FFh
SFR
SFR
EFFh
F00h
F5Fh
F60h
FFFh
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 next 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.
DS41159B-page 46
Preliminary
 2002 Microchip Technology Inc.