16F876 Microchip Technology, 16F876 Datasheet - Page 17

no-image

16F876

Manufacturer Part Number
16F876
Description
28/40-pin 8-Bit CMOS FLASH Microcontrollers
Manufacturer
Microchip Technology
Datasheet
TABLE 2-1:
100h
101h
102h
103h
104h
105h
106h
107h
108h
109h
10Ah
10Bh
10Ch
10Dh
10Eh
10Fh
180h
181h
182h
183h
184h
185h
186h
187h
188h
189h
18Ah
18Bh
18Ch
18Dh
18Eh
18Fh
Legend: x = unknown, u = unchanged, q = value depends on condition, - = unimplemented read as ’0’, r = reserved.
Note 1: The upper byte of the program counter is not directly accessible. PCLATH is a holding register for the PC<12:8> whose
Addres
Bank 2
1999 Microchip Technology Inc.
Bank 3
s
(4)
(4)
(4)
(4)
(4)
(4)
(4)
(4)
(1,4)
(4)
(1,4)
(4)
2: Other (non power-up) resets include external reset through MCLR and Watchdog Timer Reset.
3: Bits PSPIE and PSPIF are reserved on the 28-pin devices; always maintain these bits clear.
4: These registers can be addressed from any bank.
5: PORTD, PORTE, TRISD, and TRISE are not physically implemented on the 28-pin devices, read as ‘0’.
6: PIR2<6> and PIE2<6> are reserved on these devices; always maintain these bits clear.
INDF
TMR0
PCL
STATUS
FSR
PORTB
PCLATH
INTCON
EEDATA
EEADR
EEDATH
EEADRH
INDF
OPTION_R
EG
PCL
STATUS
FSR
TRISB
PCLATH
INTCON
EECON1
EECON2
Shaded locations are unimplemented, read as ‘0’.
contents are transferred to the upper byte of the program counter.
Name
SPECIAL FUNCTION REGISTER SUMMARY (CONTINUED)
Addressing this location uses contents of FSR to address data memory (not a physical register)
Timer0 module’s register
Program Counter's (PC) Least Significant Byte
Unimplemented
PORTB Data Latch when written: PORTB pins when read
Unimplemented
Unimplemented
Unimplemented
EEPROM data register
EEPROM address register
Addressing this location uses contents of FSR to address data memory (not a physical register)
Program Counter's (PC) Least Significant Byte
Unimplemented
PORTB Data Direction Register
Unimplemented
Unimplemented
Unimplemented
EEPROM control register2 (not a physical register)
Reserved maintain clear
Reserved maintain clear
Indirect data memory address pointer
Indirect data memory address pointer
EEPGD
RBPU
Bit 7
IRP
GIE
IRP
GIE
INTEDG
Bit 6
PEIE
PEIE
RP1
RP1
EEPROM data register high byte
T0CS
Bit 5
T0IE
T0IE
RP0
RP0
Write Buffer for the upper 5 bits of the Program Counter
EEPROM address register high byte
Write Buffer for the upper 5 bits of the Program Counter
Bit 4
T0SE
INTE
INTE
TO
TO
WRERR
Bit 3
RBIE
RBIE
PSA
PD
PD
WREN
Bit 2
T0IF
T0IF
PS2
Z
Z
Bit 1
INTF
INTF
PS1
WR
DC
DC
PIC16F87X
Bit 0
RBIF
RBIF
PS0
RD
C
C
xxxx xxxx uuuu uuuu
0000 0000 0000 0000
0001 1xxx 000q quuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
---0 0000 ---0 0000
0000 000x 0000 000u
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
0000 0000 0000 0000
1111 1111 1111 1111
0000 0000 0000 0000
0001 1xxx 000q quuu
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
---0 0000 ---0 0000
0000 000x 0000 000u
x--- x000 x--- u000
---- ---- ---- ----
0000 0000 0000 0000
0000 0000 0000 0000
Value on:
0000 0000
DS30292B-page 17
POR,
BOR
Value on
0000 0000
all other
resets
(2)

Related parts for 16F876