PIC16F684
2.2.1
GENERAL PURPOSE REGISTER
FILE
FIGURE 2-2:
DATA MEMORY MAP OF
THE PIC16F684
File
Address
Indirect Addr.
(1)
TMR0
PCL
STATUS
FSR
PORTA
PORTC
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
PCLATH
INTCON
PIR1
TMR1L
TMR1H
T1CON
TMR2
T2CON
CCPR1L
CCPR1H
CCP1CON
PWM1CON
ECCPAS
WDTCON
CMCON0
CMCON1
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
1Ah
1Bh
1Ch
1Dh
ADRESH
ADCON0
1Eh
1Fh
20h
VRCON
EEDAT
EEADR
EECON1
EECON2
(1)
The register file is organized as 128 x 8 in the
PIC16F684. Each register is accessed, either directly
or indirectly, through the File Select Register (FSR)
(see
File
Address
Indirect Addr.
(1)
OPTION_REG
PCL
STATUS
FSR
TRISA
TRISC
80h
81h
82h
83h
84h
85h
86h
87h
88h
89h
PCLATH
INTCON
PIE1
PCON
OSCCON
OSCTUNE
ANSEL
PR2
8Ah
8Bh
8Ch
8Dh
8Eh
8Fh
90h
91h
92h
93h
94h
WPUA
IOCA
95h
96h
97h
98h
99h
9Ah
9Bh
9Ch
9Dh
9Eh
9Fh
A0h
2.2.2
SPECIAL FUNCTION REGISTERS
The Special Function Registers are registers used by
the CPU and peripheral functions for controlling the
desired operation of the device (see Table 2-1). These
registers are static RAM.
The special registers can be classified into two sets:
core and peripheral. The Special Function Registers
associated with the “core” are described in this section.
Those related to the operation of the peripheral
features are described in the section of that peripheral
feature.
ADRESL
ADCON1
General
Purpose
Registers
32 Bytes
General
Purpose
Registers
96 Bytes
BFh
ACCESSES 70h-7Fh
7Fh
BANK 0
BANK 1
F0h
FFh
Unimplemented data memory locations, read as ‘0’.
Note 1:
Not a physical register.
DS41202C-page 8
Preliminary
2004 Microchip Technology Inc.