p. 1
pic16f87x data sheet 28/40-pin 8-bit cmos flash microcontrollers 2001 microchip technology inc ds30292c
[close]
p. 2
all rights reserved copyright © 2001 microchip technology incorporated usa information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates no representation or warranty is given and no liability is assumed by microchip technology incorporated with respect to the accuracy or use of such information or infringement of patents or other intellectual property rights arising from such use or otherwise use of microchip s products as critical components in life support systems is not authorized except with express written approval by microchip no licenses are conveyed implicitly or otherwise under any intellectual property rights the microchip logo and name are registered trademarks of microchip technology inc in the u.s.a and other countries all rights reserved all other trademarks mentioned herein are the property of their respective companies no licenses are conveyed implicitly or otherwise under any intellectual property rights trademarks the microchip name logo pic picmicro picmaster picstart pro mate keeloq seeval mplab and the embedded control solutions company are registered trademarks of microchip technology incorporated in the u.s.a and other countries total endurance icsp in-circuit serial programming filterlab mxdev microid flexrom fuzzylab mpasm mplink mplib picdem icepic migratable memory fansense economonitor and selectmode are trademarks of microchip technology incorporated in the u.s.a serialized quick term programming sqtp is a service mark of microchip technology incorporated in the u.s.a all other trademarks mentioned herein are property of their respective companies © 2001 microchip technology incorporated printed in the u.s.a all rights reserved microchip received qs-9000 quality system certification for its worldwide headquarters design and wafer fabrication facilities in chandler and tempe arizona in july 1999 the company s quality system processes and procedures are qs-9000 compliant for its picmicro® 8-bit mcus keeloq® code hopping devices serial eeproms and microperipheral products in addition microchip s quality system for the design and manufacture of development systems is iso 9001 certified ds30292c page ii 2001 microchip technology inc.
[close]
p. 3
pic16f87x 28/40-pin 8-bit cmos flash microcontrollers devices included in this data sheet · pic16f873 · pic16f874 · pic16f876 · pic16f877 pin diagram pdip mclr/vpp ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref ra4/t0cki ra5/an4/ss re0/rd/an5 re1/wr/an6 re2/cs/an7 vdd vss osc1/clkin osc2/clkout rc0/t1oso/t1cki rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl rd0/psp0 rd1/psp1 1 2 3 4 5 6 40 39 38 37 36 35 rb7/pgd rb6/pgc rb5 rb4 rb3/pgm rb2 rb1 rb0/int vdd vss rd7/psp7 rd6/psp6 rd5/psp5 rd4/psp4 rc7/rx/dt rc6/tx/ck rc5/sdo rc4/sdi/sda rd3/psp3 rd2/psp2 microcontroller core features · high performance risc cpu · only 35 single word instructions to learn · all single cycle instructions except for program branches which are two cycle · operating speed dc 20 mhz clock input dc 200 ns instruction cycle · up to 8k x 14 words of flash program memory up to 368 x 8 bytes of data memory ram up to 256 x 8 bytes of eeprom data memory · pinout compatible to the pic16c73b/74b/76/77 · interrupt capability up to 14 sources · eight level deep hardware stack · direct indirect and relative addressing modes · power-on reset por · power-up timer pwrt and oscillator start-up timer ost · watchdog timer wdt with its own on-chip rc oscillator for reliable operation · programmable code protection · power saving sleep mode · selectable oscillator options · low power high speed cmos flash/eeprom technology · fully static design · in-circuit serial programming icsp via two pins · single 5v in-circuit serial programming capability · in-circuit debugging via two pins · processor read/write access to program memory · wide operating voltage range 2.0v to 5.5v · high sink/source current 25 ma · commercial industrial and extended temperature ranges · low-power consumption 0.6 ma typical 3v 4 mhz 20 µa typical 3v 32 khz 1 µa typical standby current pic16f877/874 7 8 9 10 11 12 13 14 15 16 17 18 19 20 34 33 32 31 30 29 28 27 26 25 24 23 22 21 peripheral features · timer0 8-bit timer/counter with 8-bit prescaler · timer1 16-bit timer/counter with prescaler can be incremented during sleep via external crystal/clock · timer2 8-bit timer/counter with 8-bit period register prescaler and postscaler · two capture compare pwm modules capture is 16-bit max resolution is 12.5 ns compare is 16-bit max resolution is 200 ns pwm max resolution is 10-bit · 10-bit multi-channel analog-to-digital converter · synchronous serial port ssp with spi master mode and i2c master/slave · universal synchronous asynchronous receiver transmitter usart/sci with 9-bit address detection · parallel slave port psp 8-bits wide with external rd wr and cs controls 40/44-pin only · brown-out detection circuitry for brown-out reset bor 2001 microchip technology inc ds30292c-page 1
[close]
p. 4
pic16f87x pin diagrams pdip soic mclr/vpp ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref ra4/t0cki ra5/an4/ss vss osc1/clkin osc2/clkout rc0/t1oso/t1cki rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 rb7/pgd rb6/pgc rb5 rb4 rb3/pgm rb2 rb1 rb0/int vdd vss rc7/rx/dt rc6/tx/ck rc5/sdo rc4/sdi/sda ra3/an3/vref ra2/an2/vrefra1/an1 ra0/an0 mclr/vpp nc rb7/pgd rb6/pgc rb5 rb4 nc 6 5 4 3 2 1 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 9 pic16f876/873 plcc rc6/tx/ck rc5/sdo rc4/sdi/sda rd3/psp3 rd2/psp2 rd1/psp1 rd0/psp0 rc3/sck/scl rc2/ccp1 rc1/t1osi/ccp2 nc qfp 44 43 42 41 40 39 38 37 36 35 34 nc nc rb4 rb5 rb6/pgc rb7/pgd mclr/vpp ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref 12 13 14 15 16 17 18 19 20 21 22 rc7/rx/dt rd4/psp4 rd5/psp5 rd6/psp6 rd7/psp7 vss vdd rb0/int rb1 rb2 rb3/pgm 1 2 3 4 5 6 7 8 9 10 11 pic16f877 pic16f874 33 32 31 30 29 28 27 26 25 24 23 nc rc0/t1oso/t1cki osc2/clkout osc1/clkin vss vdd re2/an7/cs re1/an6/wr re0/an5/rd ra5/an4/ss ra4/t0cki ds30292c-page 2 rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl rd0/psp0 rd1/psp1 rd2/psp2 rd3/psp3 rc4/sdi/sda rc5/sdo rc6/tx/ck nc 18 19 20 21 22 23 24 25 26 27 282 ra4/t0cki ra5/an4/ss re0/rd/an5 re1/wr/an6 re2/cs/an7 vdd vss osc1/clkin osc2/clkout rc0/t1oso/t1ck1 nc 7 8 9 10 11 12 13 14 15 16 17 pic16f877 pic16f874 rb3/pgm rb2 rb1 rb0/int vdd vss rd7/psp7 rd6/psp6 rd5/psp5 rd4/psp4 rc7/rx/dt 2001 microchip technology inc.
[close]
p. 5
pic16f87x key features picmicrotm mid-range reference manual ds33023 operating frequency resets and delays flash program memory 14-bit words data memory bytes eeprom data memory interrupts i/o ports timers capture/compare/pwm modules serial communications parallel communications 10-bit analog-to-digital module instruction set pic16f873 dc 20 mhz por bor pwrt ost 4k 192 128 13 ports a,b,c 3 2 mssp usart 5 input channels 35 instructions pic16f874 dc 20 mhz por bor pwrt ost 4k 192 128 14 ports a,b,c,d,e 3 2 mssp usart psp 8 input channels 35 instructions pic16f876 dc 20 mhz por bor pwrt ost 8k 368 256 13 ports a,b,c 3 2 mssp usart 5 input channels 35 instructions pic16f877 dc 20 mhz por bor pwrt ost 8k 368 256 14 ports a,b,c,d,e 3 2 mssp usart psp 8 input channels 35 instructions 2001 microchip technology inc ds30292c-page 3
[close]
p. 6
pic16f87x table of contents 1.0 device overview 5 2.0 memory organization 11 3.0 i/o ports 29 4.0 data eeprom and flash program memory 41 5.0 timer0 module 47 6.0 timer1 module 51 7.0 timer2 module 55 8.0 capture/compare/pwm modules 57 9.0 master synchronous serial port mssp module 65 10.0 addressable universal synchronous asynchronous receiver transmitter usart 95 11.0 analog-to-digital converter a/d module 111 12.0 special features of the cpu 119 13.0 instruction set summary 135 14.0 development support 143 15.0 electrical characteristics 149 16.0 dc and ac characteristics graphs and tables 177 17.0 packaging information 189 appendix a revision history 197 appendix b device differences 197 appendix c conversion considerations 198 index 199 on-line support 207 reader response 208 pic16f87x product identification system 209 to our valued customers it is our intention to provide our valued customers with the best documentation possible to ensure successful use of your microchip products to this end we will continue to improve our publications to better suit your needs our publications will be refined and enhanced as new volumes and updates are introduced if you have any questions or comments regarding this publication please contact the marketing communications department via e-mail at docerrors@mail.microchip.com or fax the reader response form in the back of this data sheet to 480 792-4150 we welcome your feedback most current data sheet to obtain the most up-to-date version of this data sheet please register at our worldwide web site at http www.microchip.com you can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page the last character of the literature number is the version number e.g ds30000a is version a of document ds30000 errata an errata sheet describing minor operational differences from the data sheet and recommended workarounds may exist for current devices as device/documentation issues become known to us we will publish an errata sheet the errata will specify the revision of silicon and revision of document to which it applies to determine if an errata sheet exists for a particular device please check with one of the following · microchip s worldwide web site http www.microchip.com · your local microchip sales office see last page · the microchip corporate literature center u.s fax 480 792-7277 when contacting a sales office or the literature center please specify which device revision of silicon and data sheet include literature number you are using customer notification system register on our web site at www.microchip.com/cn to receive the most current information on all of our products ds30292c-page 4 2001 microchip technology inc.
[close]
p. 7
pic16f87x 1.0 device overview this document contains device specific information additional information may be found in the picmicrotm mid-range reference manual ds33023 which may be obtained from your local microchip sales representative or downloaded from the microchip website the reference manual should be considered a complementary document to this data sheet and is highly recommended reading for a better understanding of the device architecture and operation of the peripheral modules there are four devices pic16f873 pic16f874 pic16f876 and pic16f877 covered by this data sheet the pic16f876/873 devices come in 28-pin packages and the pic16f877/874 devices come in 40-pin packages the parallel slave port is not implemented on the 28-pin devices the following device block diagrams are sorted by pin number 28-pin for figure 1-1 and 40-pin for figure 1-2 the 28-pin and 40-pin pinouts are listed in table 1-1 and table 1-2 respectively figure 1-1 device pic16f873 pic16f876 pic16f873 and pic16f876 block diagram program flash 4k 8k data memory 192 bytes 368 bytes 13 program counter flash program memory data eeprom 128 bytes 256 bytes data bus 8 porta ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref ra4/t0cki ra5/an4/ss portb rb0/int rb1 rb2 rb3/pgm rb4 rb5 rb6/pgc rb7/pgd portc 8 level stack 13-bit ram file registers ram addr1 program bus 14 instruction reg direct addr 7 9 addr mux 8 indirect addr fsr reg status reg 8 3 power-up timer instruction decode control timing generation osc1/clkin osc2/clkout oscillator start-up timer power-on reset watchdog timer brown-out reset in-circuit debugger low voltage programming 8 mux alu rc0/t1oso/t1cki rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl rc4/sdi/sda rc5/sdo rc6/tx/ck rc7/rx/dt w reg mclr vdd vss timer0 timer1 timer2 10-bit a/d data eeprom ccp1,2 synchronous serial port usart note 1 higher order bits are from the status register 2001 microchip technology inc ds30292c-page 5
[close]
p. 8
pic16f87x figure 1-2 device pic16f874 pic16f877 pic16f874 and pic16f877 block diagram program flash 4k 8k data memory 192 bytes 368 bytes 13 flash program memory 8 level stack 13-bit program counter data eeprom 128 bytes 256 bytes data bus 8 porta ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref ra4/t0cki ra5/an4/ss portb rb0/int rb1 rb2 rb3/pgm rb4 rb5 rb6/pgc rb7/pgd portc ram file registers ram addr1 program bus 14 instruction reg direct addr 7 9 addr mux 8 indirect addr fsr reg status reg 8 3 power-up timer instruction decode control timing generation osc1/clkin osc2/clkout oscillator start-up timer power-on reset watchdog timer brown-out reset in-circuit debugger low-voltage programming 8 mux alu rc0/t1oso/t1cki rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl rc4/sdi/sda rc5/sdo rc6/tx/ck rc7/rx/dt portd rd0/psp0 rd1/psp1 rd2/psp2 rd3/psp3 rd4/psp4 rd5/psp5 rd6/psp6 rd7/psp7 porte w reg parallel slave port mclr vdd vss re0/an5/rd re1/an6/wr re2/an7/cs timer0 timer1 timer2 10-bit a/d data eeprom ccp1,2 synchronous serial port usart note 1 higher order bits are from the status register ds30292c-page 6 2001 microchip technology inc.
[close]
p. 9
pic16f87x table 1-1 pin name osc1/clkin osc2/clkout pic16f873 and pic16f876 pinout description dip pin 9 10 soic pin 9 10 i/o/p type i o buffer type description st/cmos3 oscillator crystal input/external clock source input oscillator crystal output connects to crystal or resonator in crystal oscillator mode in rc mode the osc2 pin outputs clkout which has 1/4 the frequency of osc1 and denotes the instruction cycle rate master clear reset input or programming voltage input this pin is an active low reset to the device porta is a bi-directional i/o port ra0 can also be analog input0 ra1 can also be analog input1 ra2 can also be analog input2 or negative analog reference voltage ra3 can also be analog input3 or positive analog reference voltage ra4 can also be the clock input to the timer0 module output is open drain type ra5 can also be analog input4 or the slave select for the synchronous serial port portb is a bi-directional i/o port portb can be software programmed for internal weak pull-up on all inputs mclr/vpp 1 1 i/p st ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref ra4/t0cki ra5/ss/an4 2 3 4 5 6 7 2 3 4 5 6 7 i/o i/o i/o i/o i/o i/o ttl ttl ttl ttl st ttl rb0/int rb1 rb2 rb3/pgm rb4 rb5 rb6/pgc rb7/pgd 21 22 23 24 25 26 27 28 21 22 23 24 25 26 27 28 i/o i/o i/o i/o i/o i/o i/o i/o ttl/st1 ttl ttl ttl ttl ttl ttl/st2 ttl/st2 rb0 can also be the external interrupt pin rb3 can also be the low voltage programming input interrupt-on-change pin interrupt-on-change pin interrupt-on-change pin or in-circuit debugger pin serial programming clock interrupt-on-change pin or in-circuit debugger pin serial programming data portc is a bi-directional i/o port rc0 can also be the timer1 oscillator output or timer1 clock input rc1 can also be the timer1 oscillator input or capture2 input/compare2 output/pwm2 output rc2 can also be the capture1 input/compare1 output pwm1 output rc3 can also be the synchronous serial clock input/output for both spi and i2c modes rc4 can also be the spi data in spi mode or data i/o i2c mode rc5 can also be the spi data out spi mode rc6 can also be the usart asynchronous transmit or synchronous clock rc7 can also be the usart asynchronous receive or synchronous data ground reference for logic and i/o pins positive supply for logic and i/o pins p power st schmitt trigger input rc0/t1oso/t1cki rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl rc4/sdi/sda rc5/sdo rc6/tx/ck rc7/rx/dt vss vdd legend i input 11 12 13 14 15 16 17 18 8 19 20 11 12 13 14 15 16 17 18 8 19 20 i/o i/o i/o i/o i/o i/o i/o i/o p p st st st st st st st st o output not used i/o input/output ttl ttl input note 1 this buffer is a schmitt trigger input when configured as the external interrupt 2 this buffer is a schmitt trigger input when used in serial programming mode 3 this buffer is a schmitt trigger input when configured in rc oscillator mode and a cmos input otherwise 2001 microchip technology inc ds30292c-page 7
[close]
p. 10
pic16f87x table 1-2 pin name osc1/clkin osc2/clkout pic16f874 and pic16f877 pinout description dip pin 13 14 plcc pin 14 15 qfp pin 30 31 i/o/p type i o buffer type st/cmos4 description oscillator crystal input/external clock source input oscillator crystal output connects to crystal or resonator in crystal oscillator mode in rc mode osc2 pin outputs clkout which has 1/4 the frequency of osc1 and denotes the instruction cycle rate master clear reset input or programming voltage input this pin is an active low reset to the device porta is a bi-directional i/o port ra0 can also be analog input0 ra1 can also be analog input1 ra2 can also be analog input2 or negative analog reference voltage ra3 can also be analog input3 or positive analog reference voltage ra4 can also be the clock input to the timer0 timer counter output is open drain type ra5 can also be analog input4 or the slave select for the synchronous serial port portb is a bi-directional i/o port portb can be software programmed for internal weak pull-up on all inputs mclr/vpp 1 2 18 i/p st ra0/an0 ra1/an1 ra2/an2/vrefra3/an3/vref ra4/t0cki ra5/ss/an4 2 3 4 5 6 7 3 4 5 6 7 8 19 20 21 22 23 24 i/o i/o i/o i/o i/o i/o ttl ttl ttl ttl st ttl rb0/int rb1 rb2 rb3/pgm rb4 rb5 rb6/pgc rb7/pgd legend i input 33 34 35 36 37 38 39 40 36 37 38 39 41 42 43 44 8 9 10 11 14 15 16 17 i/o i/o i/o i/o i/o i/o i/o i/o ttl/st1 ttl ttl ttl ttl ttl ttl/st2 ttl/st2 rb0 can also be the external interrupt pin rb3 can also be the low voltage programming input interrupt-on-change pin interrupt-on-change pin interrupt-on-change pin or in-circuit debugger pin serial programming clock interrupt-on-change pin or in-circuit debugger pin serial programming data p power st schmitt trigger input o output not used i/o input/output ttl ttl input note 1 this buffer is a schmitt trigger input when configured as an external interrupt 2 this buffer is a schmitt trigger input when used in serial programming mode 3 this buffer is a schmitt trigger input when configured as general purpose i/o and a ttl input when used in the parallel slave port mode for interfacing to a microprocessor bus 4 this buffer is a schmitt trigger input when configured in rc oscillator mode and a cmos input otherwise ds30292c-page 8 2001 microchip technology inc.
[close]
p. 11
pic16f87x table 1-2 pin name pic16f874 and pic16f877 pinout description continued dip pin plcc pin qfp pin i/o/p type buffer type description portc is a bi-directional i/o port rc0/t1oso/t1cki rc1/t1osi/ccp2 rc2/ccp1 rc3/sck/scl rc4/sdi/sda rc5/sdo rc6/tx/ck rc7/rx/dt 15 16 17 18 23 24 25 26 16 18 19 20 25 26 27 29 32 35 36 37 42 43 44 1 i/o i/o i/o i/o i/o i/o i/o i/o st st st st st st st st rc0 can also be the timer1 oscillator output or a timer1 clock input rc1 can also be the timer1 oscillator input or capture2 input/compare2 output/pwm2 output rc2 can also be the capture1 input/compare1 output/pwm1 output rc3 can also be the synchronous serial clock input output for both spi and i2c modes rc4 can also be the spi data in spi mode or data i/o i2c mode rc5 can also be the spi data out spi mode rc6 can also be the usart asynchronous transmit or synchronous clock rc7 can also be the usart asynchronous receive or synchronous data portd is a bi-directional i/o port or parallel slave port when interfacing to a microprocessor bus rd0/psp0 rd1/psp1 rd2/psp2 rd3/psp3 rd4/psp4 rd5/psp5 rd6/psp6 rd7/psp7 re0/rd/an5 re1/wr/an6 re2/cs/an7 vss vdd nc legend i input 19 20 21 22 27 28 29 30 8 9 10 12,31 11,32 21 22 23 24 30 31 32 33 9 10 11 13,34 12,35 1,17,28 40 38 39 40 41 2 3 4 5 25 26 27 6,29 7,28 12,13 33,34 i/o i/o i/o i/o i/o i/o i/o i/o i/o i/o i/o p p st/ttl3 st/ttl3 st/ttl3 st/ttl3 st/ttl3 st/ttl3 st/ttl3 st/ttl3 porte is a bi-directional i/o port st/ttl3 st/ttl3 st/ttl3 re0 can also be read control for the parallel slave port or analog input5 re1 can also be write control for the parallel slave port or analog input6 re2 can also be select control for the parallel slave port or analog input7 ground reference for logic and i/o pins positive supply for logic and i/o pins these pins are not internally connected these pins should be left unconnected p power st schmitt trigger input o output not used i/o input/output ttl ttl input note 1 this buffer is a schmitt trigger input when configured as an external interrupt 2 this buffer is a schmitt trigger input when used in serial programming mode 3 this buffer is a schmitt trigger input when configured as general purpose i/o and a ttl input when used in the parallel slave port mode for interfacing to a microprocessor bus 4 this buffer is a schmitt trigger input when configured in rc oscillator mode and a cmos input otherwise 2001 microchip technology inc ds30292c-page 9
[close]
p. 12
pic16f87x notes ds30292c-page 10 2001 microchip technology inc.
[close]
p. 13
pic16f87x 2.0 memory organization 2.1 program memory organization there are three memory blocks in each of the pic16f87x mcus the program memory and data memory have separate buses so that concurrent access can occur and is detailed in this section the eeprom data memory block is detailed in section 4.0 additional information on device memory may be found in the picmicro mid-range reference manual ds33023 the pic16f87x devices have a 13-bit program counter capable of addressing an 8k x 14 program memory space the pic16f877/876 devices have 8k x 14 words of flash program memory and the pic16f873/874 devices have 4k x 14 accessing a location above the physically implemented address will cause a wraparound the reset vector is at 0000h and the interrupt vector is at 0004h figure 2-1 pic16f877/876 program memory map and stack pc<12:0 figure 2-2 pic16f874/873 program memory map and stack pc<12:0 call return retfie retlw 13 call return retfie retlw 13 stack level 1 stack level 2 stack level 1 stack level 2 stack level 8 stack level 8 reset vector 0000h reset vector 0000h interrupt vector 0004h 0005h interrupt vector 0004h 0005h page 0 07ffh 0800h on-chip program memory page 0 07ffh 0800h page 1 on-chip program memory page 2 17ffh 1800h 0fffh 1000h page 1 0fffh 1000h page 3 1fffh 1fffh 2001 microchip technology inc ds30292c-page 11
[close]
p. 14
pic16f87x 2.2 data memory organization the data memory is partitioned into multiple banks which contain the general purpose registers and the special function registers bits rp1 status<6 and rp0 status<5 are the bank select bits each bank extends up to 7fh 128 bytes the lower locations of each bank are reserved for the special function registers above the special function registers are general purpose registers implemented as static ram all implemented banks contain special function registers some frequently used special function registers from one bank may be mirrored in another bank for code reduction and quicker access note eeprom data memory description can be found in section 4.0 of this data sheet rp1:rp0 00 01 10 11 bank 0 1 2 3 2.2.1 general purpose register file the register file can be accessed either directly or indirectly through the file select register fsr ds30292c-page 12 2001 microchip technology inc.
[close]
p. 15
pic16f87x figure 2-3 pic16f877/876 register file map file address indirect addr tmr0 pcl status fsr porta portb portc portd1 porte1 pclath intcon pir1 pir2 tmr1l tmr1h t1con tmr2 t2con sspbuf sspcon ccpr1l ccpr1h ccp1con rcsta txreg rcreg ccpr2l ccpr2h ccp2con adresh adcon0 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0ah 0bh 0ch 0dh 0eh 0fh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h 1ah 1bh 1ch 1dh 1eh 1fh 20h indirect addr option_reg pcl status fsr trisa trisb trisc trisd1 trise1 pclath intcon pie1 pie2 pcon file address 80h 81h 82h 83h 84h 85h 86h 87h 88h 89h 8ah 8bh 8ch 8dh 8eh 8fh 90h 91h 92h 93h 94h 95h 96h 97h 98h 99h 9ah 9bh 9ch 9dh 9eh 9fh a0h general purpose register 80 bytes accesses 70h-7fh 7fh bank 0 bank 1 general purpose register 80 bytes accesses 70h-7fh bank 2 indirect addr tmr0 pcl status fsr portb file address 100h 101h 102h 103h 104h 105h 106h 107h 108h 109h 10ah 10bh 10ch 10dh 10eh 10fh 110h 111h 112h 113h 114h 115h 116h 117h 118h 119h 11ah 11bh 11ch 11dh 11eh 11fh 120h indirect addr option_reg pcl status fsr trisb file address 180h 181h 182h 183h 184h 185h 186h 187h 188h 189h 18ah 18bh 18ch 18dh 18eh 18fh 190h 191h 192h 193h 194h 195h 196h 197h 198h 199h 19ah 19bh 19ch 19dh 19eh 19fh 1a0h pclath intcon eedata eeadr eedath eeadrh pclath intcon eecon1 eecon2 reserved2 reserved2 sspcon2 pr2 sspadd sspstat txsta spbrg general purpose register 16 bytes general purpose register 16 bytes adresl adcon1 general purpose register 96 bytes efh f0h ffh 16fh 170h 17fh general purpose register 80 bytes accesses 70h 7fh bank 3 1efh 1f0h 1ffh unimplemented data memory locations read as 0 not a physical register note 1 these registers are not implemented on the pic16f876 2 these registers are reserved maintain these registers clear 2001 microchip technology inc ds30292c-page 13
[close]