Datasheet
PIC16F5X
DS41213D-page 16 © 2007 Microchip Technology Inc.
3.2.2 SPECIAL FUNCTION REGISTERS
The Special Function Registers (SFR) are registers
used by the CPU and peripheral functions to control the
operation of the device (Table 3-1).
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.
TABLE 3-1: SPECIAL FUNCTION REGISTER SUMMARY
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
Power-on
Reset
Details
on Page
N/A TRIS I/O Control Registers (TRISA, TRISB, TRISC, TRISD, TRISE) 1111 1111 29
N/A OPTION Contains control bits to configure Timer0 and Timer0/WDT
prescaler
--11 1111 18
00h INDF Uses contents of FSR to address data memory (not a physical
register)
xxxx xxxx 20
01h TMR0 Timer0 Module Register xxxx xxxx 34
02h PCL
(1)
Low order 8 bits of PC 1111 1111 19
03h STATUS
PA2 PA1 PA0 TO PD ZDCC0001 1xxx 17
04h FSR
(3)
Indirect data memory Address Pointer 111x xxxx 20
04h FSR
(4)
Indirect data memory Address Pointer 1xxx xxxx 20
04h FSR
(5)
Indirect data memory Address Pointer xxxx xxxx 20
05h PORTA
(6)
— — — — RA3 RA2 RA1 RA0 ---- xxxx 29
06h PORTB RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx xxxx 29
07h PORTC
(2)
RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0 xxxx xxxx 29
08h PORTD
(7)
RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 xxxx xxxx 29
09h PORTE
(6), (7)
RE7 RE6 RE5 RE4 — — — — xxxx ---- 29
Legend: Shaded cells = unimplemented or unused, – = unimplemented, read as ‘0’ (if applicable), x = unknown,
u = unchanged
Note 1: The upper byte of the Program Counter is not directly accessible. See Section 3.5 “Program Counter”
for an explanation of how to access these bits.
2: File address 07h is a General Purpose Register on the PIC16F54.
3: PIC16F54 only.
4: PIC16F57 only.
5: PIC16F59 only.
6: Unimplemented bits are read as ‘0’s.
7: File address 08h and 09h are General Purpose Registers on the PIC16F54 and PIC16F57.