; 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
 SFR Addresses
indf equ 00h
pc equ 02h
pcl equ 02h
status equ 03h
fsr equ 04h
fsr0 equ 04h
pclath equ 0Ah

INDF equ 00h
PCL   equ 02h
STATUS equ 03h
FSR equ 04h
PCLATH equ 0Ah




PORTA               equ 0x05;
PORTB               equ 0x06;
IOCA                equ 0x07;
LVDCR               equ 0x08;
IOCB                equ 0x09;

PDCON               equ 0x0B;
PHCON               equ 0x0D;
INTECON             equ 0x0E;
PIR                 equ 0x0F;

PMCON               equ 0x40;
_OPTION              equ 0x41;
PDCON1              equ 0x42;
PHCON1              equ 0x43;
TRISA               equ 0x45;
TRISB               equ 0x46;
PMADRL              equ 0x47;
PMADRH              equ 0x48;
PMDATL              equ 0x49;
PMDATH              equ 0x4A;
T1CR_AUXR           equ 0x4B;
T1CON               equ 0x4C;
T1                  equ 0x4D;
T1LOAD              equ 0x4E;
PWM0P               equ 0x4F;

T2CON               equ 0x50;
TMR2H               equ 0x51;
T2                  equ 0x52;
T2LOAD              equ 0x53;
PWM1P               equ 0x54;
PWMSET              equ 0x55;
ANSELL              equ 0x56;
ANSELH              equ 0x57;
ADRESL              equ 0x58;

ADRESH              equ 0x59;
ADCON0              equ 0x5A;
ADCON1              equ 0x5B;


