; 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 00h
INDF1 equ 01h
PCL   equ 02h
STATUS equ 03h
FSR0L equ 04h
FSR0H equ 05h
FSR1L equ 06h
FSR1H equ 07h
PCLATH equ 08h

INTCON		equ		0x09
;BANK0  			
;IO     			
TRISA		equ		0x10
TRISB		equ		0x11
TRISC		equ		0x12
TRISD		equ		0x13
TRISE		equ		0x14
TRISF		equ		0x15
PORTA		equ		0x1C
PORTB		equ		0x1D
PORTC		equ		0x1E
PORTD		equ		0x1F
PORTE		equ		0x20
PORTF		equ		0x21
WPUA		equ		0x28
WPUB		equ		0x29
WPUC		equ		0x2A
WPUD		equ		0x2B
WPUE		equ		0x2C
WPUF		equ		0x2D
WPDA		equ		0x34
WPDB		equ		0x35
WPDC		equ		0x36
WPDD		equ		0x37
WPDE		equ		0x38
WPDF		equ		0x39
IOCA		equ		0x40
IOCB		equ		0x41
IOCC		equ		0x42
IOCD		equ		0x43
IOCE		equ		0x44
IOCF		equ		0x45
PORCTR		equ		0x4C
LAEN		equ		0x4D
LBEN		equ		0x4E
LCEN		equ		0x4F
LDEN		equ		0x50
LEEN		equ		0x51
LFEN		equ		0x52
        	
PIR1		equ		0x54
PIR2		equ		0x55
PIR3		equ		0x56
T1L		equ		0x58
T1H		equ		0x59
T1CON		equ		0x5A
T0		equ		0x5B
T2		equ		0x5C
PR2		equ		0x5D
T2CON		equ		0x5E
PR1L		equ		0x5F
PR1CON		equ		0x60
        		
PIE1		equ		0x70
PIE2		equ		0x71
PIE3		equ		0x72
        		
_OPTION		equ		0x78
PCON		equ		0x79
OSCCON		equ		0x7A
CCPR2L		equ		0x80
CCPR2H		equ		0x81
CCP2CON		equ		0x82
CCPR1L		equ		0x83
CCPR1H		equ		0x84
CCP1CON		equ		0x85
        		
ANSELL		equ		0x8C
ANSELH		equ		0x8D
ADRESL		equ		0x92
ADRESH		equ		0x93
ADCON0		equ		0x94
ADCON1		equ		0x95
ADCLK		equ		0x96
        		
PMDATL		equ		0x9A
PMDATH		equ		0x9B
PMADRL		equ		0x9C
PMADRH		equ		0x9D
PMCON		equ		0x9E


;BANK1  			          	
SPSTAT		equ		0x230
SPCTL		equ		0x231
SPDAT		equ		0x232
          	
BRT		equ		0x23A
AUXR		equ		0x23B
SCON		equ		0x23C
SBUF		equ		0x23D
SADEN		equ		0x23E
SADDR		equ		0x23F
          	
PWM2DT		equ		0x250
PWM2D		equ		0x251
PWM2P		equ		0x252
PWM2C		equ		0x253
PWM1DT		equ		0x254
PWM1D		equ		0x255
PWM1P		equ		0x256
PWM1C		equ		0x257
PWM0DT		equ		0x258
PWM0DL		equ		0x259
PWM0DH		equ		0x25A
PWM0PL		equ		0x25B
PWM0PH		equ		0x25C
PWM0C		equ		0x25D
PWMEN		equ		0x25E
          	
LCDCON		equ		0x2B0
LCDPS		equ		0x2B1
DISPCTR		equ		0x2B2
LCDLVD		equ		0x2B3
SEGSE0		equ		0x2B6
SEGSE1		equ		0x2B7
SEGSE2		equ		0x2B8
SEGSE3		equ		0x2B9

SEGDATA0	equ		0x2C0
SEGDATA1	equ		0x2C1
SEGDATA2	equ		0x2C2
SEGDATA3	equ		0x2C3
SEGDATA4	equ		0x2C4
SEGDATA5	equ		0x2C5
SEGDATA6	equ		0x2C6
SEGDATA7	equ		0x2C7
SEGDATA8	equ		0x2C8
SEGDATA9	equ		0x2C9
SEGDATA10	equ		0x2CA
SEGDATA11	equ		0x2CB
SEGDATA12	equ		0x2CC
SEGDATA13	equ		0x2CD
SEGDATA14	equ		0x2CE
SEGDATA15	equ		0x2CF
SEGDATA16	equ		0x2D0
SEGDATA17	equ		0x2D1
SEGDATA18	equ		0x2D2
SEGDATA19	equ		0x2D3
SEGDATA20	equ		0x2D4
SEGDATA21	equ		0x2D5
SEGDATA22	equ		0x2D6
SEGDATA23	equ		0x2D7
SEGDATA24	equ		0x2D8
SEGDATA25	equ		0x2D9
SEGDATA26	equ		0x2DA
SEGDATA27	equ		0x2DB
SEGDATA28	equ		0x2DC
SEGDATA29	equ		0x2DD
SEGDATA30	equ		0x2DE
SEGDATA31	equ		0x2DF


