; Version 1.45
; Generated 16/11/2017 GMT

; 
; Copyright © 2017, Microchip Technology Inc. and its subsidiaries ("Microchip")
; All rights reserved.
; 
; This software is developed by Microchip Technology Inc. and its subsidiaries ("Microchip").
; 
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
; 
;     1. Redistributions of source code must retain the above copyright notice, this list of
;        conditions and the following disclaimer.
; 
;     2. Redistributions in binary form must reproduce the above copyright notice, this list
;        of conditions and the following disclaimer in the documentation and/or other
;        materials provided with the distribution.
; 
;     3. Microchip's name may not be used to endorse or promote products derived from this
;        software without specific prior written permission.
; 
; THIS SOFTWARE IS PROVIDED BY MICROCHIP "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
; PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL MICROCHIP BE LIABLE FOR ANY DIRECT, INDIRECT,
; INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSequENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO
; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS
; INTERRUPTION) HOWSOEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
; 


; 
; Code-generator required, PIC16F887 Definitions
; 
; SFR Addresses
indf equ 00h
indf0 equ 00h
indf1 equ 01h
pc   equ 02h
pcl   equ 02h
status equ 03h
fsr equ 04h
fsr0 equ 04h
fsr0l equ 04h
fsr0h equ 05h
fsr1l equ 06h
fsr1h equ 07h
pclath equ 08h

INDF0        equ       0x000;
INDF1        equ       0x001;
PCL          equ       0x002;
STATUS       equ       0x003;
FSR0L        equ       0x004;
FSR0H        equ       0x005;
FSR1L        equ       0x006;
FSR1H        equ       0x007;
PCLATH       equ       0x008;
INTCON       equ       0x009;

;BANK0  			
;IO     					 
TRISA        equ       0x010;
TRISB        equ       0x011;
TRISC        equ       0x012;
TRISD        equ       0x013;
PORTA        equ       0x01C;
PORTB        equ       0x01D;
PORTC        equ       0x01E;
PORTD        equ       0x01F;
WPUA         equ       0x028;
WPUB         equ       0x029;
WPUC         equ       0x02A;
WPUD         equ       0x02B;
WPDA         equ       0x034;
WPDB         equ       0x035;
WPDC         equ       0x036;
WPDD         equ       0x037;
IOCB         equ       0x038;
PIR1         equ       0x054;
PIR2         equ       0x055;
T1L          equ       0x058;
T1H          equ       0x059;
T1CON        equ       0x05A;
T0           equ       0x05B;
T2           equ       0x05C;
PR2          equ       0x05D;
T2CON        equ       0x05E;
PR1L         equ       0x05F;
PR1CON       equ       0x060;
PIE1         equ       0x070;
PIE2         equ       0x071;
_OPTION       equ       0x078;
PCON         equ       0x079;
OSCCON       equ       0x07A;
OSCRDY       equ       0x07B;
TRMEN        equ       0x07C;
TRMV         equ       0x07D;
ANSELA       equ       0x08C;
ANSELB       equ       0x08D;
ANSELC       equ       0x08E;
ANSELD       equ       0x08F;
ADRESL       equ       0x092;
ADRESH       equ       0x093;
ADCON0       equ       0x094;
ADCON1       equ       0x095;
ADCLK        equ       0x096;
PMDATL       equ       0x09A;
PMDATH       equ       0x09B;
PMADRL       equ       0x09C;
PMADRH       equ       0x09D;
PMCON        equ       0x09E;
PFGCON       equ       0x0A6;
PFGADH       equ       0x0A7;
PFGADL       equ       0x0A8;
EEPCON       equ       0x0B8;
EEPDAT       equ       0x0B9;
EEPADR       equ       0x0BA;
BORC         equ       0x0C0;
BORDBC       equ       0x0C1;
RSTFR        equ       0x0C2;
SLEWC        equ       0x0C8;
UARTMAP      equ       0x0C9;
IICMAP       equ       0x0CA;
SPIMAP       equ       0x0CB;
INTMAP       equ       0x0CC;
PWMMAP       equ       0x0CD;
PWMEN        equ       0x0D0;
FLTMODE      equ       0x0D1;
PWMM         equ       0x0D2;
PWM0C        equ       0x0D3;
PWM0PL		 equ	   0x0D8;
PWM0PH		 equ	   0x0D9;
PWM0DL		 equ	   0x0DA;
PWM0DH		 equ	   0x0DB;
PWM0DTL		 equ	   0x0DC;
PWM0DTH		 equ	   0x0DD;
			 
;BANK1  	
SCON		 equ	   0x230;
SCON2        equ       0x231;
SBUF         equ       0x232;
BRTL         equ       0x235;
BRTH         equ       0x236;
IICCON       equ       0x240;
IICSTA       equ       0x241;
IICDAT       equ       0x242;
IICADR       equ       0x243;


