; 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
pcl   equ 02h
pc   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
TRISF		EQU		0x15
PORTA		EQU		0x1C
PORTB		EQU		0x1D

PORTF		EQU		0x21
WPUA		EQU		0x28
WPUB		EQU		0x29
WPUF		EQU		0x2D
WPDA		EQU		0x34
WPDB		EQU		0x35
WPDF		EQU		0x39
IOCA		EQU		0x40
IOCB		EQU		0x41
IOCF		EQU		0x45
PORCTR		EQU		0x4C
DRENAL		EQU		0x4D
DRENBL		EQU		0x4E
DRENCL		EQU		0x4F
DRENFL		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

DRENAH		EQU		0xA0
DRENBH		EQU		0xA1
DRENCH		EQU		0xA2
DRENFH		EQU		0xA5

RTRIM			EQU		0xB0

        		
;BANK1  			          	
BRT		EQU		0x23A
AUXR		EQU		0x23B
SCON		EQU		0x23C
SBUF		EQU		0x23D
SADEN		EQU		0x23E
SADDR		EQU		0x23F
          	
PWM0DT		EQU		0x258
PWM0DL		EQU		0x259
PWM0DH		EQU		0x25A
PWM0PL		EQU		0x25B
PWM0PH		EQU		0x25C
PWM0C		EQU		0x25D
PWMEN		EQU		0x25E

FLTM		EQU		0X25F          	
LCDCON		EQU		0x2B0
COMAEN		EQU		0x2B1
COMBEN		EQU		0x2B2
COMCEN		EQU		0x2B3
COMFEN		EQU		0x2B6

