/* Register definitions for pic16c781.
 * This file was automatically generated by:
 *   inc2h.pl
 *   Copyright (c) 2002, Kevin L. Pauba, All Rights Reserved
 *
 * SDCC is licensed under the GNU Public license (GPL) v2. Note that
 * this license covers the code to the compiler and other executables,
 * tbut explicitly does not cover any code or objects generated by sdcc.
 *
 *
 * For pic device libraries and header files which are derived from
 * Microchip header (.inc) and linker script (.lkr) files Microchip
 * requires that "The header files should state that they are only to be
 * used with authentic Microchip devices" which makes them incompatible
 * with the GPL. Pic device libraries and header files are located at
 * non-free/lib and non-free/include directories respectively.
 * Sdcc should be run with the --use-non-free command line option in
 * order to include non-free header files and libraries.
 *
 * See http://sdcc.sourceforge.net/ for the latest information on sdcc.
 */
#include <pic16c781.h>

__sfr  __at (INDF_ADDR)                    INDF;
__sfr  __at (TMR0_ADDR)                    TMR0;
__sfr  __at (PCL_ADDR)                     PCL;
__sfr  __at (STATUS_ADDR)                  STATUS;
__sfr  __at (FSR_ADDR)                     FSR;
__sfr  __at (PORTA_ADDR)                   PORTA;
__sfr  __at (PORTB_ADDR)                   PORTB;
__sfr  __at (PCLATH_ADDR)                  PCLATH;
__sfr  __at (INTCON_ADDR)                  INTCON;
__sfr  __at (PIR1_ADDR)                    PIR1;
__sfr  __at (TMR1_ADDR)                    TMR1;
__sfr  __at (TMR1L_ADDR)                   TMR1L;
__sfr  __at (TMR1H_ADDR)                   TMR1H;
__sfr  __at (T1CON_ADDR)                   T1CON;
__sfr  __at (ADRES_ADDR)                   ADRES;
__sfr  __at (ADCON0_ADDR)                  ADCON0;
__sfr  __at (OPTION_REG_ADDR)              OPTION_REG;
__sfr  __at (TRISA_ADDR)                   TRISA;
__sfr  __at (TRISB_ADDR)                   TRISB;
__sfr  __at (PIE1_ADDR)                    PIE1;
__sfr  __at (PCON_ADDR)                    PCON;
__sfr  __at (WPUB_ADDR)                    WPUB;
__sfr  __at (IOCB_ADDR)                    IOCB;
__sfr  __at (REFCON_ADDR)                  REFCON;
__sfr  __at (LVDCON_ADDR)                  LVDCON;
__sfr  __at (ANSEL_ADDR)                   ANSEL;
__sfr  __at (ADCON1_ADDR)                  ADCON1;
__sfr  __at (PMDATL_ADDR)                  PMDATL;
__sfr  __at (PMADRL_ADDR)                  PMADRL;
__sfr  __at (PMDATH_ADDR)                  PMDATH;
__sfr  __at (PMADRH_ADDR)                  PMADRH;
__sfr  __at (CALCON_ADDR)                  CALCON;
__sfr  __at (PSMCCON0_ADDR)                PSMCCON0;
__sfr  __at (PSMCCON1_ADDR)                PSMCCON1;
__sfr  __at (CM1CON0_ADDR)                 CM1CON0;
__sfr  __at (CM2CON0_ADDR)                 CM2CON0;
__sfr  __at (CM2CON1_ADDR)                 CM2CON1;
__sfr  __at (OPACON_ADDR)                  OPACON;
__sfr  __at (DAC_ADDR)                     DAC;
__sfr  __at (DACON0_ADDR)                  DACON0;
__sfr  __at (PMCON1_ADDR)                  PMCON1;

//
// bitfield definitions
//
volatile __ADCON0bits_t __at(ADCON0_ADDR) ADCON0bits;
volatile __ADCON1bits_t __at(ADCON1_ADDR) ADCON1bits;
volatile __ANSELbits_t __at(ANSEL_ADDR) ANSELbits;
volatile __CALCONbits_t __at(CALCON_ADDR) CALCONbits;
volatile __CM1CON0bits_t __at(CM1CON0_ADDR) CM1CON0bits;
volatile __CM2CON0bits_t __at(CM2CON0_ADDR) CM2CON0bits;
volatile __CM2CON1bits_t __at(CM2CON1_ADDR) CM2CON1bits;
volatile __DACbits_t __at(DAC_ADDR) DACbits;
volatile __DACON0bits_t __at(DACON0_ADDR) DACON0bits;
volatile __INTCONbits_t __at(INTCON_ADDR) INTCONbits;
volatile __IOCBbits_t __at(IOCB_ADDR) IOCBbits;
volatile __LVDCONbits_t __at(LVDCON_ADDR) LVDCONbits;
volatile __OPACONbits_t __at(OPACON_ADDR) OPACONbits;
volatile __OPTION_REGbits_t __at(OPTION_REG_ADDR) OPTION_REGbits;
volatile __PCONbits_t __at(PCON_ADDR) PCONbits;
volatile __PIE1bits_t __at(PIE1_ADDR) PIE1bits;
volatile __PIR1bits_t __at(PIR1_ADDR) PIR1bits;
volatile __PMCON1bits_t __at(PMCON1_ADDR) PMCON1bits;
volatile __PORTAbits_t __at(PORTA_ADDR) PORTAbits;
volatile __PORTBbits_t __at(PORTB_ADDR) PORTBbits;
volatile __PSMCCON0bits_t __at(PSMCCON0_ADDR) PSMCCON0bits;
volatile __PSMCCON1bits_t __at(PSMCCON1_ADDR) PSMCCON1bits;
volatile __REFCONbits_t __at(REFCON_ADDR) REFCONbits;
volatile __STATUSbits_t __at(STATUS_ADDR) STATUSbits;
volatile __T1CONbits_t __at(T1CON_ADDR) T1CONbits;
volatile __TRISAbits_t __at(TRISA_ADDR) TRISAbits;
volatile __TRISBbits_t __at(TRISB_ADDR) TRISBbits;
volatile __WPUBbits_t __at(WPUB_ADDR) WPUBbits;

