Datasheet

PIC16F527
DS41652A-page 16 Preliminary 2012 Microchip Technology Inc.
4.2 Data Memory (SRAM and FSRs)
Data memory is composed of registers or bytes of
SRAM. Therefore, data memory for a device is
specified by its register file. The register file is divided
into two functional groups: Special Function Registers
(SFR) and General Purpose Registers (GPR).
The Special Function Registers are registers used by
the CPU and peripheral functions for controlling
desired operations of the PIC16F527. See Section 4.3
“STATUS Register” for details.
The PIC16F527 register file is composed of 16 Special
Function Registers and 67 General Purpose Registers.
4.2.1 GENERAL PURPOSE REGISTER
FILE
The General Purpose Register file is accessed directly
or indirectly. See Section 4.8 “Direct and Indirect
Addressing”.
4.2.2 SPECIAL FUNCTION REGISTERS
The Special Function Registers (SFRs) are registers
used by the CPU and peripheral functions to control the
operation of the device (Section 4.3 “STATUS Regis-
ter”).
The Special Function Registers can be classified into
two sets. The Special Function Registers associated
with the “core” functions are described in this section.
Those related to the operation of the peripheral
features are described in the section for each
peripheral feature.
FIGURE 4-2: PIC16F527 REGISTER FILE MAP
File Address
00h
01h
02h
03h
04h
05h
06h
07h
1Fh
INDF
(1)
TMR0
PCL
STATUS
FSR
OSCCAL
PORTA
10h
Bank 0 Bank 1 Bank 2 Bank 3
3Fh
30h
20h
5Fh
50h
40h
7Fh
70h
60h
General
Purpose
Registers
General
Purpose
Registers
General
Purpose
Registers
General
Purpose
Registers
General
Purpose
Registers
PORTB
08h
Note 1: Not a physical register. See Section 4.8 “Direct and Indirect Addressing”.
BSR<1:0> 00 01 10 11
2Fh 4Fh 6Fh
PORTC
INTCON0
09h
0Ah
0Bh
ADRES
ADCON0
0Ch
0Fh
INDF
(1)
EECON
PCL
STATUS
FSR
EEDATA
EEADR
CM2CON0
INTCON0
ANSEL
VRCON
INDF
(1)
TMR0
PCL
STATUS
FSR
OSCCAL
PORTA
PORTB
ADRES
ADCON0
INDF
(1)
IW
PCL
STATUS
FSR
INTCON1
ISTATUS
ANSEL
OPACON
PORTC
IBSR
INTCON0
INTCON0
CM1CON0
IFSR
Addresses map back to
addresses in Bank 0.
6Ch4Ch2Ch