diff --git a/MPLABX Projects/TimerInterrupt.X/build/default/production/main.i b/MPLABX Projects/TimerInterrupt.X/build/default/production/main.i index 73436d7..e853ba2 100644 --- a/MPLABX Projects/TimerInterrupt.X/build/default/production/main.i +++ b/MPLABX Projects/TimerInterrupt.X/build/default/production/main.i @@ -1,1905 +1,1795 @@ + # 1 "main.c" -# 1 "" 1 -# 1 "" 3 -# 288 "" 3 -# 1 "" 1 -# 1 "" 2 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\language_support.h" 1 3 -# 2 "" 2 -# 1 "main.c" 2 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 1 3 -# 18 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 3 + +# 18 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\xc.h" extern const char __xc8_OPTIM_SPEED; extern double __fpnormalize(double); - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\xc8debug.h" 1 3 - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 1 3 - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\musl_xc8.h" 1 3 -# 5 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 2 3 - - - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\features.h" 1 3 -# 11 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 2 3 -# 21 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 1 3 -# 24 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef long int wchar_t; -# 128 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef unsigned size_t; -# 174 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef __int24 int24_t; -# 210 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef __uint24 uint24_t; -# 22 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 2 3 - -int atoi (const char *); -long atol (const char *); - - - -double atof (const char *); - - -float strtof (const char *restrict, char **restrict); -double strtod (const char *restrict, char **restrict); -long double strtold (const char *restrict, char **restrict); - - - -long strtol (const char *restrict, char **restrict, int); -unsigned long strtoul (const char *restrict, char **restrict, int); - - - - - -unsigned long __strtoxl(const char * s, char ** endptr, int base, char is_signed); -# 55 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 3 -int rand (void); -void srand (unsigned); - -void *malloc (size_t); -void *calloc (size_t, size_t); -void *realloc (void *, size_t); -void free (void *); - - void abort (void); -int atexit (void (*) (void)); - void exit (int); - void _Exit (int); - -void *bsearch (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); - - - - - - - -__attribute__((nonreentrant)) void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); - -int abs (int); -long labs (long); - - - - -typedef struct { int quot, rem; } div_t; -typedef struct { long quot, rem; } ldiv_t; - - - - -div_t div (int, int); -ldiv_t ldiv (long, long); - - - - -typedef struct { unsigned int quot, rem; } udiv_t; -typedef struct { unsigned long quot, rem; } uldiv_t; -udiv_t udiv (unsigned int, unsigned int); -uldiv_t uldiv (unsigned long, unsigned long); -# 5 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\xc8debug.h" 2 3 - - - - - - - +# 13 "C:\Program Files\Microchip\xc8\v2.45\pic\include\c90\xc8debug.h" #pragma intrinsic(__builtin_software_breakpoint) extern void __builtin_software_breakpoint(void); -# 24 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 2 3 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\builtins.h" 1 3 - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 1 3 -# 26 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 1 3 -# 133 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef unsigned short uintptr_t; -# 148 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef short intptr_t; -# 164 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 +# 13 "C:\Program Files\Microchip\xc8\v2.45\pic\include\c90\stdint.h" typedef signed char int8_t; +# 20 +typedef signed int int16_t; +# 28 +typedef __int24 int24_t; +# 36 +typedef signed long int int32_t; -typedef short int16_t; -# 179 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef long int32_t; -# 192 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef int32_t intmax_t; - - +# 52 +typedef unsigned char uint8_t; +# 58 +typedef unsigned int uint16_t; +# 65 +typedef __uint24 uint24_t; +# 72 +typedef unsigned long int uint32_t; +# 88 +typedef signed char int_least8_t; -typedef unsigned char uint8_t; +# 96 +typedef signed int int_least16_t; +# 109 +typedef __int24 int_least24_t; +# 118 +typedef signed long int int_least32_t; +# 136 +typedef unsigned char uint_least8_t; -typedef unsigned short uint16_t; -# 215 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef unsigned long uint32_t; -# 233 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef uint32_t uintmax_t; -# 27 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 2 3 +# 143 +typedef unsigned int uint_least16_t; -typedef int8_t int_fast8_t; +# 154 +typedef __uint24 uint_least24_t; +# 162 +typedef unsigned long int uint_least32_t; +# 181 +typedef signed char int_fast8_t; +# 188 +typedef signed int int_fast16_t; -typedef int8_t int_least8_t; -typedef int16_t int_least16_t; +# 200 +typedef __int24 int_fast24_t; -typedef int24_t int_least24_t; -typedef int24_t int_fast24_t; +# 208 +typedef signed long int int_fast32_t; -typedef int32_t int_least32_t; +# 224 +typedef unsigned char uint_fast8_t; +# 230 +typedef unsigned int uint_fast16_t; +# 240 +typedef __uint24 uint_fast24_t; +# 247 +typedef unsigned long int uint_fast32_t; -typedef uint8_t uint_fast8_t; +# 268 +typedef int32_t intmax_t; +# 282 +typedef uint32_t uintmax_t; +# 289 +typedef int16_t intptr_t; -typedef uint8_t uint_least8_t; -typedef uint16_t uint_least16_t; -typedef uint24_t uint_least24_t; -typedef uint24_t uint_fast24_t; -typedef uint32_t uint_least32_t; -# 148 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/stdint.h" 1 3 -typedef int16_t int_fast16_t; -typedef int32_t int_fast32_t; -typedef uint16_t uint_fast16_t; -typedef uint32_t uint_fast32_t; -# 149 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 2 3 -# 5 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\builtins.h" 2 3 +typedef uint16_t uintptr_t; +# 7 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\builtins.h" #pragma intrinsic(__nop) extern void __nop(void); #pragma intrinsic(_delay) -extern __attribute__((nonreentrant)) void _delay(uint32_t); +extern __nonreentrant void _delay(uint32_t); #pragma intrinsic(_delaywdt) -extern __attribute__((nonreentrant)) void _delaywdt(uint32_t); -# 25 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 2 3 - +extern __nonreentrant void _delaywdt(uint32_t); +# 52 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h" +extern volatile unsigned char INDF __at(0x000); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 1 3 +asm("INDF equ 00h"); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\htc.h" 1 3 +extern volatile unsigned char TMR0 __at(0x001); +asm("TMR0 equ 01h"); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 1 3 -# 5 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\htc.h" 2 3 -# 6 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 2 3 +extern volatile unsigned char PCL __at(0x002); +asm("PCL equ 02h"); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic_chip_select.h" 1 3 -# 664 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic_chip_select.h" 3 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 1 3 -# 44 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\__at.h" 1 3 -# 45 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 2 3 +extern volatile unsigned char STATUS __at(0x003); - - - - - - -extern volatile unsigned char INDF __attribute__((address(0x000))); - -__asm("INDF equ 00h"); - - - - -extern volatile unsigned char TMR0 __attribute__((address(0x001))); - -__asm("TMR0 equ 01h"); - - - - -extern volatile unsigned char PCL __attribute__((address(0x002))); - -__asm("PCL equ 02h"); - - - - -extern volatile unsigned char STATUS __attribute__((address(0x003))); - -__asm("STATUS equ 03h"); +asm("STATUS equ 03h"); typedef union { - struct { - unsigned C :1; - unsigned DC :1; - unsigned Z :1; - unsigned nPD :1; - unsigned nTO :1; - unsigned RP :2; - unsigned IRP :1; - }; - struct { - unsigned :5; - unsigned RP0 :1; - unsigned RP1 :1; - }; - struct { - unsigned CARRY :1; - unsigned :1; - unsigned ZERO :1; - }; +struct { +unsigned C :1; +unsigned DC :1; +unsigned Z :1; +unsigned nPD :1; +unsigned nTO :1; +unsigned RP :2; +unsigned IRP :1; +}; +struct { +unsigned :5; +unsigned RP0 :1; +unsigned RP1 :1; +}; +struct { +unsigned CARRY :1; +unsigned :1; +unsigned ZERO :1; +}; } STATUSbits_t; -extern volatile STATUSbits_t STATUSbits __attribute__((address(0x003))); -# 159 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char FSR __attribute__((address(0x004))); +extern volatile STATUSbits_t STATUSbits __at(0x003); + +# 159 +extern volatile unsigned char FSR __at(0x004); -__asm("FSR equ 04h"); +asm("FSR equ 04h"); -extern volatile unsigned char PORTA __attribute__((address(0x005))); +extern volatile unsigned char PORTA __at(0x005); -__asm("PORTA equ 05h"); +asm("PORTA equ 05h"); typedef union { - struct { - unsigned RA0 :1; - unsigned RA1 :1; - unsigned RA2 :1; - unsigned RA3 :1; - unsigned RA4 :1; - unsigned RA5 :1; - }; +struct { +unsigned RA0 :1; +unsigned RA1 :1; +unsigned RA2 :1; +unsigned RA3 :1; +unsigned RA4 :1; +unsigned RA5 :1; +}; } PORTAbits_t; -extern volatile PORTAbits_t PORTAbits __attribute__((address(0x005))); -# 216 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTB __attribute__((address(0x006))); +extern volatile PORTAbits_t PORTAbits __at(0x005); -__asm("PORTB equ 06h"); +# 216 +extern volatile unsigned char PORTB __at(0x006); + +asm("PORTB equ 06h"); typedef union { - struct { - unsigned RB0 :1; - unsigned RB1 :1; - unsigned RB2 :1; - unsigned RB3 :1; - unsigned RB4 :1; - unsigned RB5 :1; - unsigned RB6 :1; - unsigned RB7 :1; - }; +struct { +unsigned RB0 :1; +unsigned RB1 :1; +unsigned RB2 :1; +unsigned RB3 :1; +unsigned RB4 :1; +unsigned RB5 :1; +unsigned RB6 :1; +unsigned RB7 :1; +}; } PORTBbits_t; -extern volatile PORTBbits_t PORTBbits __attribute__((address(0x006))); -# 278 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTC __attribute__((address(0x007))); +extern volatile PORTBbits_t PORTBbits __at(0x006); + +# 278 +extern volatile unsigned char PORTC __at(0x007); -__asm("PORTC equ 07h"); +asm("PORTC equ 07h"); typedef union { - struct { - unsigned RC0 :1; - unsigned RC1 :1; - unsigned RC2 :1; - unsigned RC3 :1; - unsigned RC4 :1; - unsigned RC5 :1; - unsigned RC6 :1; - unsigned RC7 :1; - }; +struct { +unsigned RC0 :1; +unsigned RC1 :1; +unsigned RC2 :1; +unsigned RC3 :1; +unsigned RC4 :1; +unsigned RC5 :1; +unsigned RC6 :1; +unsigned RC7 :1; +}; } PORTCbits_t; -extern volatile PORTCbits_t PORTCbits __attribute__((address(0x007))); -# 340 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTD __attribute__((address(0x008))); +extern volatile PORTCbits_t PORTCbits __at(0x007); -__asm("PORTD equ 08h"); +# 340 +extern volatile unsigned char PORTD __at(0x008); + +asm("PORTD equ 08h"); typedef union { - struct { - unsigned RD0 :1; - unsigned RD1 :1; - unsigned RD2 :1; - unsigned RD3 :1; - unsigned RD4 :1; - unsigned RD5 :1; - unsigned RD6 :1; - unsigned RD7 :1; - }; +struct { +unsigned RD0 :1; +unsigned RD1 :1; +unsigned RD2 :1; +unsigned RD3 :1; +unsigned RD4 :1; +unsigned RD5 :1; +unsigned RD6 :1; +unsigned RD7 :1; +}; } PORTDbits_t; -extern volatile PORTDbits_t PORTDbits __attribute__((address(0x008))); -# 402 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTE __attribute__((address(0x009))); +extern volatile PORTDbits_t PORTDbits __at(0x008); + +# 402 +extern volatile unsigned char PORTE __at(0x009); -__asm("PORTE equ 09h"); +asm("PORTE equ 09h"); typedef union { - struct { - unsigned RE0 :1; - unsigned RE1 :1; - unsigned RE2 :1; - }; +struct { +unsigned RE0 :1; +unsigned RE1 :1; +unsigned RE2 :1; +}; } PORTEbits_t; -extern volatile PORTEbits_t PORTEbits __attribute__((address(0x009))); -# 434 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PCLATH __attribute__((address(0x00A))); +extern volatile PORTEbits_t PORTEbits __at(0x009); -__asm("PCLATH equ 0Ah"); +# 434 +extern volatile unsigned char PCLATH __at(0x00A); + +asm("PCLATH equ 0Ah"); typedef union { - struct { - unsigned PCLATH :5; - }; +struct { +unsigned PCLATH :5; +}; } PCLATHbits_t; -extern volatile PCLATHbits_t PCLATHbits __attribute__((address(0x00A))); -# 454 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char INTCON __attribute__((address(0x00B))); +extern volatile PCLATHbits_t PCLATHbits __at(0x00A); + +# 454 +extern volatile unsigned char INTCON __at(0x00B); -__asm("INTCON equ 0Bh"); +asm("INTCON equ 0Bh"); typedef union { - struct { - unsigned RBIF :1; - unsigned INTF :1; - unsigned TMR0IF :1; - unsigned RBIE :1; - unsigned INTE :1; - unsigned TMR0IE :1; - unsigned PEIE :1; - unsigned GIE :1; - }; - struct { - unsigned :2; - unsigned T0IF :1; - unsigned :2; - unsigned T0IE :1; - }; +struct { +unsigned RBIF :1; +unsigned INTF :1; +unsigned TMR0IF :1; +unsigned RBIE :1; +unsigned INTE :1; +unsigned TMR0IE :1; +unsigned PEIE :1; +unsigned GIE :1; +}; +struct { +unsigned :2; +unsigned T0IF :1; +unsigned :2; +unsigned T0IE :1; +}; } INTCONbits_t; -extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); -# 532 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIR1 __attribute__((address(0x00C))); +extern volatile INTCONbits_t INTCONbits __at(0x00B); + +# 532 +extern volatile unsigned char PIR1 __at(0x00C); -__asm("PIR1 equ 0Ch"); +asm("PIR1 equ 0Ch"); typedef union { - struct { - unsigned TMR1IF :1; - unsigned TMR2IF :1; - unsigned CCP1IF :1; - unsigned SSPIF :1; - unsigned TXIF :1; - unsigned RCIF :1; - unsigned ADIF :1; - unsigned PSPIF :1; - }; +struct { +unsigned TMR1IF :1; +unsigned TMR2IF :1; +unsigned CCP1IF :1; +unsigned SSPIF :1; +unsigned TXIF :1; +unsigned RCIF :1; +unsigned ADIF :1; +unsigned PSPIF :1; +}; } PIR1bits_t; -extern volatile PIR1bits_t PIR1bits __attribute__((address(0x00C))); -# 594 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIR2 __attribute__((address(0x00D))); +extern volatile PIR1bits_t PIR1bits __at(0x00C); -__asm("PIR2 equ 0Dh"); +# 594 +extern volatile unsigned char PIR2 __at(0x00D); + +asm("PIR2 equ 0Dh"); typedef union { - struct { - unsigned CCP2IF :1; - unsigned :2; - unsigned BCLIF :1; - unsigned EEIF :1; - unsigned :1; - unsigned CMIF :1; - }; +struct { +unsigned CCP2IF :1; +unsigned :2; +unsigned BCLIF :1; +unsigned EEIF :1; +unsigned :1; +unsigned CMIF :1; +}; } PIR2bits_t; -extern volatile PIR2bits_t PIR2bits __attribute__((address(0x00D))); -# 634 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned short TMR1 __attribute__((address(0x00E))); +extern volatile PIR2bits_t PIR2bits __at(0x00D); + +# 634 +extern volatile unsigned short TMR1 __at(0x00E); -__asm("TMR1 equ 0Eh"); +asm("TMR1 equ 0Eh"); -extern volatile unsigned char TMR1L __attribute__((address(0x00E))); +extern volatile unsigned char TMR1L __at(0x00E); -__asm("TMR1L equ 0Eh"); +asm("TMR1L equ 0Eh"); -extern volatile unsigned char TMR1H __attribute__((address(0x00F))); +extern volatile unsigned char TMR1H __at(0x00F); -__asm("TMR1H equ 0Fh"); +asm("TMR1H equ 0Fh"); -extern volatile unsigned char T1CON __attribute__((address(0x010))); +extern volatile unsigned char T1CON __at(0x010); -__asm("T1CON equ 010h"); +asm("T1CON equ 010h"); typedef union { - struct { - unsigned TMR1ON :1; - unsigned TMR1CS :1; - unsigned nT1SYNC :1; - unsigned T1OSCEN :1; - unsigned T1CKPS :2; - }; - struct { - unsigned :2; - unsigned T1SYNC :1; - unsigned :1; - unsigned T1CKPS0 :1; - unsigned T1CKPS1 :1; - }; - struct { - unsigned :2; - unsigned T1INSYNC :1; - }; +struct { +unsigned TMR1ON :1; +unsigned TMR1CS :1; +unsigned nT1SYNC :1; +unsigned T1OSCEN :1; +unsigned T1CKPS :2; +}; +struct { +unsigned :2; +unsigned T1SYNC :1; +unsigned :1; +unsigned T1CKPS0 :1; +unsigned T1CKPS1 :1; +}; +struct { +unsigned :2; +unsigned T1INSYNC :1; +}; } T1CONbits_t; -extern volatile T1CONbits_t T1CONbits __attribute__((address(0x010))); -# 730 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TMR2 __attribute__((address(0x011))); +extern volatile T1CONbits_t T1CONbits __at(0x010); -__asm("TMR2 equ 011h"); +# 730 +extern volatile unsigned char TMR2 __at(0x011); +asm("TMR2 equ 011h"); -extern volatile unsigned char T2CON __attribute__((address(0x012))); -__asm("T2CON equ 012h"); +extern volatile unsigned char T2CON __at(0x012); + +asm("T2CON equ 012h"); typedef union { - struct { - unsigned T2CKPS :2; - unsigned TMR2ON :1; - unsigned TOUTPS :4; - }; - struct { - unsigned T2CKPS0 :1; - unsigned T2CKPS1 :1; - unsigned :1; - unsigned TOUTPS0 :1; - unsigned TOUTPS1 :1; - unsigned TOUTPS2 :1; - unsigned TOUTPS3 :1; - }; +struct { +unsigned T2CKPS :2; +unsigned TMR2ON :1; +unsigned TOUTPS :4; +}; +struct { +unsigned T2CKPS0 :1; +unsigned T2CKPS1 :1; +unsigned :1; +unsigned TOUTPS0 :1; +unsigned TOUTPS1 :1; +unsigned TOUTPS2 :1; +unsigned TOUTPS3 :1; +}; } T2CONbits_t; -extern volatile T2CONbits_t T2CONbits __attribute__((address(0x012))); -# 808 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char SSPBUF __attribute__((address(0x013))); +extern volatile T2CONbits_t T2CONbits __at(0x012); + +# 808 +extern volatile unsigned char SSPBUF __at(0x013); -__asm("SSPBUF equ 013h"); +asm("SSPBUF equ 013h"); -extern volatile unsigned char SSPCON __attribute__((address(0x014))); +extern volatile unsigned char SSPCON __at(0x014); -__asm("SSPCON equ 014h"); +asm("SSPCON equ 014h"); typedef union { - struct { - unsigned SSPM :4; - unsigned CKP :1; - unsigned SSPEN :1; - unsigned SSPOV :1; - unsigned WCOL :1; - }; - struct { - unsigned SSPM0 :1; - unsigned SSPM1 :1; - unsigned SSPM2 :1; - unsigned SSPM3 :1; - }; +struct { +unsigned SSPM :4; +unsigned CKP :1; +unsigned SSPEN :1; +unsigned SSPOV :1; +unsigned WCOL :1; +}; +struct { +unsigned SSPM0 :1; +unsigned SSPM1 :1; +unsigned SSPM2 :1; +unsigned SSPM3 :1; +}; } SSPCONbits_t; -extern volatile SSPCONbits_t SSPCONbits __attribute__((address(0x014))); -# 885 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned short CCPR1 __attribute__((address(0x015))); +extern volatile SSPCONbits_t SSPCONbits __at(0x014); -__asm("CCPR1 equ 015h"); +# 885 +extern volatile unsigned short CCPR1 __at(0x015); +asm("CCPR1 equ 015h"); -extern volatile unsigned char CCPR1L __attribute__((address(0x015))); -__asm("CCPR1L equ 015h"); +extern volatile unsigned char CCPR1L __at(0x015); +asm("CCPR1L equ 015h"); -extern volatile unsigned char CCPR1H __attribute__((address(0x016))); -__asm("CCPR1H equ 016h"); +extern volatile unsigned char CCPR1H __at(0x016); +asm("CCPR1H equ 016h"); -extern volatile unsigned char CCP1CON __attribute__((address(0x017))); -__asm("CCP1CON equ 017h"); +extern volatile unsigned char CCP1CON __at(0x017); + +asm("CCP1CON equ 017h"); typedef union { - struct { - unsigned CCP1M :4; - unsigned CCP1Y :1; - unsigned CCP1X :1; - }; - struct { - unsigned CCP1M0 :1; - unsigned CCP1M1 :1; - unsigned CCP1M2 :1; - unsigned CCP1M3 :1; - }; +struct { +unsigned CCP1M :4; +unsigned CCP1Y :1; +unsigned CCP1X :1; +}; +struct { +unsigned CCP1M0 :1; +unsigned CCP1M1 :1; +unsigned CCP1M2 :1; +unsigned CCP1M3 :1; +}; } CCP1CONbits_t; -extern volatile CCP1CONbits_t CCP1CONbits __attribute__((address(0x017))); -# 964 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char RCSTA __attribute__((address(0x018))); +extern volatile CCP1CONbits_t CCP1CONbits __at(0x017); + +# 964 +extern volatile unsigned char RCSTA __at(0x018); -__asm("RCSTA equ 018h"); +asm("RCSTA equ 018h"); typedef union { - struct { - unsigned RX9D :1; - unsigned OERR :1; - unsigned FERR :1; - unsigned ADDEN :1; - unsigned CREN :1; - unsigned SREN :1; - unsigned RX9 :1; - unsigned SPEN :1; - }; - struct { - unsigned RCD8 :1; - unsigned :5; - unsigned RC9 :1; - }; - struct { - unsigned :6; - unsigned nRC8 :1; - }; - struct { - unsigned :6; - unsigned RC8_9 :1; - }; +struct { +unsigned RX9D :1; +unsigned OERR :1; +unsigned FERR :1; +unsigned ADDEN :1; +unsigned CREN :1; +unsigned SREN :1; +unsigned RX9 :1; +unsigned SPEN :1; +}; +struct { +unsigned RCD8 :1; +unsigned :5; +unsigned RC9 :1; +}; +struct { +unsigned :6; +unsigned nRC8 :1; +}; +struct { +unsigned :6; +unsigned RC8_9 :1; +}; } RCSTAbits_t; -extern volatile RCSTAbits_t RCSTAbits __attribute__((address(0x018))); -# 1059 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TXREG __attribute__((address(0x019))); +extern volatile RCSTAbits_t RCSTAbits __at(0x018); -__asm("TXREG equ 019h"); +# 1059 +extern volatile unsigned char TXREG __at(0x019); +asm("TXREG equ 019h"); -extern volatile unsigned char RCREG __attribute__((address(0x01A))); -__asm("RCREG equ 01Ah"); +extern volatile unsigned char RCREG __at(0x01A); +asm("RCREG equ 01Ah"); -extern volatile unsigned short CCPR2 __attribute__((address(0x01B))); -__asm("CCPR2 equ 01Bh"); +extern volatile unsigned short CCPR2 __at(0x01B); +asm("CCPR2 equ 01Bh"); -extern volatile unsigned char CCPR2L __attribute__((address(0x01B))); -__asm("CCPR2L equ 01Bh"); +extern volatile unsigned char CCPR2L __at(0x01B); +asm("CCPR2L equ 01Bh"); -extern volatile unsigned char CCPR2H __attribute__((address(0x01C))); -__asm("CCPR2H equ 01Ch"); +extern volatile unsigned char CCPR2H __at(0x01C); +asm("CCPR2H equ 01Ch"); -extern volatile unsigned char CCP2CON __attribute__((address(0x01D))); -__asm("CCP2CON equ 01Dh"); +extern volatile unsigned char CCP2CON __at(0x01D); + +asm("CCP2CON equ 01Dh"); typedef union { - struct { - unsigned CCP2M :4; - unsigned CCP2Y :1; - unsigned CCP2X :1; - }; - struct { - unsigned CCP2M0 :1; - unsigned CCP2M1 :1; - unsigned CCP2M2 :1; - unsigned CCP2M3 :1; - }; +struct { +unsigned CCP2M :4; +unsigned CCP2Y :1; +unsigned CCP2X :1; +}; +struct { +unsigned CCP2M0 :1; +unsigned CCP2M1 :1; +unsigned CCP2M2 :1; +unsigned CCP2M3 :1; +}; } CCP2CONbits_t; -extern volatile CCP2CONbits_t CCP2CONbits __attribute__((address(0x01D))); -# 1152 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char ADRESH __attribute__((address(0x01E))); +extern volatile CCP2CONbits_t CCP2CONbits __at(0x01D); + +# 1152 +extern volatile unsigned char ADRESH __at(0x01E); -__asm("ADRESH equ 01Eh"); +asm("ADRESH equ 01Eh"); -extern volatile unsigned char ADCON0 __attribute__((address(0x01F))); +extern volatile unsigned char ADCON0 __at(0x01F); -__asm("ADCON0 equ 01Fh"); +asm("ADCON0 equ 01Fh"); typedef union { - struct { - unsigned ADON :1; - unsigned :1; - unsigned GO_nDONE :1; - unsigned CHS :3; - unsigned ADCS :2; - }; - struct { - unsigned :2; - unsigned GO :1; - unsigned CHS0 :1; - unsigned CHS1 :1; - unsigned CHS2 :1; - unsigned ADCS0 :1; - unsigned ADCS1 :1; - }; - struct { - unsigned :2; - unsigned nDONE :1; - }; - struct { - unsigned :2; - unsigned GO_DONE :1; - }; +struct { +unsigned ADON :1; +unsigned :1; +unsigned GO_nDONE :1; +unsigned CHS :3; +unsigned ADCS :2; +}; +struct { +unsigned :2; +unsigned GO :1; +unsigned CHS0 :1; +unsigned CHS1 :1; +unsigned CHS2 :1; +unsigned ADCS0 :1; +unsigned ADCS1 :1; +}; +struct { +unsigned :2; +unsigned nDONE :1; +}; +struct { +unsigned :2; +unsigned GO_DONE :1; +}; } ADCON0bits_t; -extern volatile ADCON0bits_t ADCON0bits __attribute__((address(0x01F))); -# 1255 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char OPTION_REG __attribute__((address(0x081))); +extern volatile ADCON0bits_t ADCON0bits __at(0x01F); + +# 1255 +extern volatile unsigned char OPTION_REG __at(0x081); -__asm("OPTION_REG equ 081h"); +asm("OPTION_REG equ 081h"); typedef union { - struct { - unsigned PS :3; - unsigned PSA :1; - unsigned T0SE :1; - unsigned T0CS :1; - unsigned INTEDG :1; - unsigned nRBPU :1; - }; - struct { - unsigned PS0 :1; - unsigned PS1 :1; - unsigned PS2 :1; - }; +struct { +unsigned PS :3; +unsigned PSA :1; +unsigned T0SE :1; +unsigned T0CS :1; +unsigned INTEDG :1; +unsigned nRBPU :1; +}; +struct { +unsigned PS0 :1; +unsigned PS1 :1; +unsigned PS2 :1; +}; } OPTION_REGbits_t; -extern volatile OPTION_REGbits_t OPTION_REGbits __attribute__((address(0x081))); -# 1325 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISA __attribute__((address(0x085))); +extern volatile OPTION_REGbits_t OPTION_REGbits __at(0x081); -__asm("TRISA equ 085h"); +# 1325 +extern volatile unsigned char TRISA __at(0x085); + +asm("TRISA equ 085h"); typedef union { - struct { - unsigned TRISA0 :1; - unsigned TRISA1 :1; - unsigned TRISA2 :1; - unsigned TRISA3 :1; - unsigned TRISA4 :1; - unsigned TRISA5 :1; - }; +struct { +unsigned TRISA0 :1; +unsigned TRISA1 :1; +unsigned TRISA2 :1; +unsigned TRISA3 :1; +unsigned TRISA4 :1; +unsigned TRISA5 :1; +}; } TRISAbits_t; -extern volatile TRISAbits_t TRISAbits __attribute__((address(0x085))); -# 1375 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISB __attribute__((address(0x086))); +extern volatile TRISAbits_t TRISAbits __at(0x085); + +# 1375 +extern volatile unsigned char TRISB __at(0x086); -__asm("TRISB equ 086h"); +asm("TRISB equ 086h"); typedef union { - struct { - unsigned TRISB0 :1; - unsigned TRISB1 :1; - unsigned TRISB2 :1; - unsigned TRISB3 :1; - unsigned TRISB4 :1; - unsigned TRISB5 :1; - unsigned TRISB6 :1; - unsigned TRISB7 :1; - }; +struct { +unsigned TRISB0 :1; +unsigned TRISB1 :1; +unsigned TRISB2 :1; +unsigned TRISB3 :1; +unsigned TRISB4 :1; +unsigned TRISB5 :1; +unsigned TRISB6 :1; +unsigned TRISB7 :1; +}; } TRISBbits_t; -extern volatile TRISBbits_t TRISBbits __attribute__((address(0x086))); -# 1437 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISC __attribute__((address(0x087))); +extern volatile TRISBbits_t TRISBbits __at(0x086); -__asm("TRISC equ 087h"); +# 1437 +extern volatile unsigned char TRISC __at(0x087); + +asm("TRISC equ 087h"); typedef union { - struct { - unsigned TRISC0 :1; - unsigned TRISC1 :1; - unsigned TRISC2 :1; - unsigned TRISC3 :1; - unsigned TRISC4 :1; - unsigned TRISC5 :1; - unsigned TRISC6 :1; - unsigned TRISC7 :1; - }; +struct { +unsigned TRISC0 :1; +unsigned TRISC1 :1; +unsigned TRISC2 :1; +unsigned TRISC3 :1; +unsigned TRISC4 :1; +unsigned TRISC5 :1; +unsigned TRISC6 :1; +unsigned TRISC7 :1; +}; } TRISCbits_t; -extern volatile TRISCbits_t TRISCbits __attribute__((address(0x087))); -# 1499 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISD __attribute__((address(0x088))); +extern volatile TRISCbits_t TRISCbits __at(0x087); + +# 1499 +extern volatile unsigned char TRISD __at(0x088); -__asm("TRISD equ 088h"); +asm("TRISD equ 088h"); typedef union { - struct { - unsigned TRISD0 :1; - unsigned TRISD1 :1; - unsigned TRISD2 :1; - unsigned TRISD3 :1; - unsigned TRISD4 :1; - unsigned TRISD5 :1; - unsigned TRISD6 :1; - unsigned TRISD7 :1; - }; +struct { +unsigned TRISD0 :1; +unsigned TRISD1 :1; +unsigned TRISD2 :1; +unsigned TRISD3 :1; +unsigned TRISD4 :1; +unsigned TRISD5 :1; +unsigned TRISD6 :1; +unsigned TRISD7 :1; +}; } TRISDbits_t; -extern volatile TRISDbits_t TRISDbits __attribute__((address(0x088))); -# 1561 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISE __attribute__((address(0x089))); +extern volatile TRISDbits_t TRISDbits __at(0x088); -__asm("TRISE equ 089h"); +# 1561 +extern volatile unsigned char TRISE __at(0x089); + +asm("TRISE equ 089h"); typedef union { - struct { - unsigned TRISE0 :1; - unsigned TRISE1 :1; - unsigned TRISE2 :1; - unsigned :1; - unsigned PSPMODE :1; - unsigned IBOV :1; - unsigned OBF :1; - unsigned IBF :1; - }; +struct { +unsigned TRISE0 :1; +unsigned TRISE1 :1; +unsigned TRISE2 :1; +unsigned :1; +unsigned PSPMODE :1; +unsigned IBOV :1; +unsigned OBF :1; +unsigned IBF :1; +}; } TRISEbits_t; -extern volatile TRISEbits_t TRISEbits __attribute__((address(0x089))); -# 1618 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIE1 __attribute__((address(0x08C))); +extern volatile TRISEbits_t TRISEbits __at(0x089); + +# 1618 +extern volatile unsigned char PIE1 __at(0x08C); -__asm("PIE1 equ 08Ch"); +asm("PIE1 equ 08Ch"); typedef union { - struct { - unsigned TMR1IE :1; - unsigned TMR2IE :1; - unsigned CCP1IE :1; - unsigned SSPIE :1; - unsigned TXIE :1; - unsigned RCIE :1; - unsigned ADIE :1; - unsigned PSPIE :1; - }; +struct { +unsigned TMR1IE :1; +unsigned TMR2IE :1; +unsigned CCP1IE :1; +unsigned SSPIE :1; +unsigned TXIE :1; +unsigned RCIE :1; +unsigned ADIE :1; +unsigned PSPIE :1; +}; } PIE1bits_t; -extern volatile PIE1bits_t PIE1bits __attribute__((address(0x08C))); -# 1680 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIE2 __attribute__((address(0x08D))); +extern volatile PIE1bits_t PIE1bits __at(0x08C); -__asm("PIE2 equ 08Dh"); +# 1680 +extern volatile unsigned char PIE2 __at(0x08D); + +asm("PIE2 equ 08Dh"); typedef union { - struct { - unsigned CCP2IE :1; - unsigned :2; - unsigned BCLIE :1; - unsigned EEIE :1; - unsigned :1; - unsigned CMIE :1; - }; +struct { +unsigned CCP2IE :1; +unsigned :2; +unsigned BCLIE :1; +unsigned EEIE :1; +unsigned :1; +unsigned CMIE :1; +}; } PIE2bits_t; -extern volatile PIE2bits_t PIE2bits __attribute__((address(0x08D))); -# 1720 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PCON __attribute__((address(0x08E))); +extern volatile PIE2bits_t PIE2bits __at(0x08D); + +# 1720 +extern volatile unsigned char PCON __at(0x08E); -__asm("PCON equ 08Eh"); +asm("PCON equ 08Eh"); typedef union { - struct { - unsigned nBOR :1; - unsigned nPOR :1; - }; - struct { - unsigned nBO :1; - }; +struct { +unsigned nBOR :1; +unsigned nPOR :1; +}; +struct { +unsigned nBO :1; +}; } PCONbits_t; -extern volatile PCONbits_t PCONbits __attribute__((address(0x08E))); -# 1754 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char SSPCON2 __attribute__((address(0x091))); +extern volatile PCONbits_t PCONbits __at(0x08E); + +# 1754 +extern volatile unsigned char SSPCON2 __at(0x091); -__asm("SSPCON2 equ 091h"); +asm("SSPCON2 equ 091h"); typedef union { - struct { - unsigned SEN :1; - unsigned RSEN :1; - unsigned PEN :1; - unsigned RCEN :1; - unsigned ACKEN :1; - unsigned ACKDT :1; - unsigned ACKSTAT :1; - unsigned GCEN :1; - }; +struct { +unsigned SEN :1; +unsigned RSEN :1; +unsigned PEN :1; +unsigned RCEN :1; +unsigned ACKEN :1; +unsigned ACKDT :1; +unsigned ACKSTAT :1; +unsigned GCEN :1; +}; } SSPCON2bits_t; -extern volatile SSPCON2bits_t SSPCON2bits __attribute__((address(0x091))); -# 1816 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PR2 __attribute__((address(0x092))); +extern volatile SSPCON2bits_t SSPCON2bits __at(0x091); -__asm("PR2 equ 092h"); +# 1816 +extern volatile unsigned char PR2 __at(0x092); +asm("PR2 equ 092h"); -extern volatile unsigned char SSPADD __attribute__((address(0x093))); -__asm("SSPADD equ 093h"); +extern volatile unsigned char SSPADD __at(0x093); +asm("SSPADD equ 093h"); -extern volatile unsigned char SSPSTAT __attribute__((address(0x094))); -__asm("SSPSTAT equ 094h"); +extern volatile unsigned char SSPSTAT __at(0x094); + +asm("SSPSTAT equ 094h"); typedef union { - struct { - unsigned BF :1; - unsigned UA :1; - unsigned R_nW :1; - unsigned S :1; - unsigned P :1; - unsigned D_nA :1; - unsigned CKE :1; - unsigned SMP :1; - }; - struct { - unsigned :2; - unsigned R :1; - unsigned :2; - unsigned D :1; - }; - struct { - unsigned :2; - unsigned I2C_READ :1; - unsigned I2C_START :1; - unsigned I2C_STOP :1; - unsigned I2C_DATA :1; - }; - struct { - unsigned :2; - unsigned nW :1; - unsigned :2; - unsigned nA :1; - }; - struct { - unsigned :2; - unsigned nWRITE :1; - unsigned :2; - unsigned nADDRESS :1; - }; - struct { - unsigned :2; - unsigned R_W :1; - unsigned :2; - unsigned D_A :1; - }; - struct { - unsigned :2; - unsigned READ_WRITE :1; - unsigned :2; - unsigned DATA_ADDRESS :1; - }; +struct { +unsigned BF :1; +unsigned UA :1; +unsigned R_nW :1; +unsigned S :1; +unsigned P :1; +unsigned D_nA :1; +unsigned CKE :1; +unsigned SMP :1; +}; +struct { +unsigned :2; +unsigned R :1; +unsigned :2; +unsigned D :1; +}; +struct { +unsigned :2; +unsigned I2C_READ :1; +unsigned I2C_START :1; +unsigned I2C_STOP :1; +unsigned I2C_DATA :1; +}; +struct { +unsigned :2; +unsigned nW :1; +unsigned :2; +unsigned nA :1; +}; +struct { +unsigned :2; +unsigned nWRITE :1; +unsigned :2; +unsigned nADDRESS :1; +}; +struct { +unsigned :2; +unsigned R_W :1; +unsigned :2; +unsigned D_A :1; +}; +struct { +unsigned :2; +unsigned READ_WRITE :1; +unsigned :2; +unsigned DATA_ADDRESS :1; +}; } SSPSTATbits_t; -extern volatile SSPSTATbits_t SSPSTATbits __attribute__((address(0x094))); -# 1999 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TXSTA __attribute__((address(0x098))); +extern volatile SSPSTATbits_t SSPSTATbits __at(0x094); + +# 1999 +extern volatile unsigned char TXSTA __at(0x098); -__asm("TXSTA equ 098h"); +asm("TXSTA equ 098h"); typedef union { - struct { - unsigned TX9D :1; - unsigned TRMT :1; - unsigned BRGH :1; - unsigned :1; - unsigned SYNC :1; - unsigned TXEN :1; - unsigned TX9 :1; - unsigned CSRC :1; - }; - struct { - unsigned TXD8 :1; - unsigned :5; - unsigned nTX8 :1; - }; - struct { - unsigned :6; - unsigned TX8_9 :1; - }; +struct { +unsigned TX9D :1; +unsigned TRMT :1; +unsigned BRGH :1; +unsigned :1; +unsigned SYNC :1; +unsigned TXEN :1; +unsigned TX9 :1; +unsigned CSRC :1; +}; +struct { +unsigned TXD8 :1; +unsigned :5; +unsigned nTX8 :1; +}; +struct { +unsigned :6; +unsigned TX8_9 :1; +}; } TXSTAbits_t; -extern volatile TXSTAbits_t TXSTAbits __attribute__((address(0x098))); -# 2080 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char SPBRG __attribute__((address(0x099))); +extern volatile TXSTAbits_t TXSTAbits __at(0x098); -__asm("SPBRG equ 099h"); +# 2080 +extern volatile unsigned char SPBRG __at(0x099); +asm("SPBRG equ 099h"); -extern volatile unsigned char CMCON __attribute__((address(0x09C))); -__asm("CMCON equ 09Ch"); +extern volatile unsigned char CMCON __at(0x09C); + +asm("CMCON equ 09Ch"); typedef union { - struct { - unsigned CM :3; - unsigned CIS :1; - unsigned C1INV :1; - unsigned C2INV :1; - unsigned C1OUT :1; - unsigned C2OUT :1; - }; - struct { - unsigned CM0 :1; - unsigned CM1 :1; - unsigned CM2 :1; - }; +struct { +unsigned CM :3; +unsigned CIS :1; +unsigned C1INV :1; +unsigned C2INV :1; +unsigned C1OUT :1; +unsigned C2OUT :1; +}; +struct { +unsigned CM0 :1; +unsigned CM1 :1; +unsigned CM2 :1; +}; } CMCONbits_t; -extern volatile CMCONbits_t CMCONbits __attribute__((address(0x09C))); -# 2157 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char CVRCON __attribute__((address(0x09D))); +extern volatile CMCONbits_t CMCONbits __at(0x09C); + +# 2157 +extern volatile unsigned char CVRCON __at(0x09D); -__asm("CVRCON equ 09Dh"); +asm("CVRCON equ 09Dh"); typedef union { - struct { - unsigned CVR :4; - unsigned :1; - unsigned CVRR :1; - unsigned CVROE :1; - unsigned CVREN :1; - }; - struct { - unsigned CVR0 :1; - unsigned CVR1 :1; - unsigned CVR2 :1; - unsigned CVR3 :1; - }; +struct { +unsigned CVR :4; +unsigned :1; +unsigned CVRR :1; +unsigned CVROE :1; +unsigned CVREN :1; +}; +struct { +unsigned CVR0 :1; +unsigned CVR1 :1; +unsigned CVR2 :1; +unsigned CVR3 :1; +}; } CVRCONbits_t; -extern volatile CVRCONbits_t CVRCONbits __attribute__((address(0x09D))); -# 2222 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char ADRESL __attribute__((address(0x09E))); +extern volatile CVRCONbits_t CVRCONbits __at(0x09D); -__asm("ADRESL equ 09Eh"); +# 2222 +extern volatile unsigned char ADRESL __at(0x09E); +asm("ADRESL equ 09Eh"); -extern volatile unsigned char ADCON1 __attribute__((address(0x09F))); -__asm("ADCON1 equ 09Fh"); +extern volatile unsigned char ADCON1 __at(0x09F); + +asm("ADCON1 equ 09Fh"); typedef union { - struct { - unsigned PCFG :4; - unsigned :2; - unsigned ADCS2 :1; - unsigned ADFM :1; - }; - struct { - unsigned PCFG0 :1; - unsigned PCFG1 :1; - unsigned PCFG2 :1; - unsigned PCFG3 :1; - }; +struct { +unsigned PCFG :4; +unsigned :2; +unsigned ADCS2 :1; +unsigned ADFM :1; +}; +struct { +unsigned PCFG0 :1; +unsigned PCFG1 :1; +unsigned PCFG2 :1; +unsigned PCFG3 :1; +}; } ADCON1bits_t; -extern volatile ADCON1bits_t ADCON1bits __attribute__((address(0x09F))); -# 2288 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char EEDATA __attribute__((address(0x10C))); +extern volatile ADCON1bits_t ADCON1bits __at(0x09F); + +# 2288 +extern volatile unsigned char EEDATA __at(0x10C); -__asm("EEDATA equ 010Ch"); +asm("EEDATA equ 010Ch"); -extern volatile unsigned char EEADR __attribute__((address(0x10D))); +extern volatile unsigned char EEADR __at(0x10D); -__asm("EEADR equ 010Dh"); +asm("EEADR equ 010Dh"); -extern volatile unsigned char EEDATH __attribute__((address(0x10E))); +extern volatile unsigned char EEDATH __at(0x10E); -__asm("EEDATH equ 010Eh"); +asm("EEDATH equ 010Eh"); -extern volatile unsigned char EEADRH __attribute__((address(0x10F))); +extern volatile unsigned char EEADRH __at(0x10F); -__asm("EEADRH equ 010Fh"); +asm("EEADRH equ 010Fh"); -extern volatile unsigned char EECON1 __attribute__((address(0x18C))); +extern volatile unsigned char EECON1 __at(0x18C); -__asm("EECON1 equ 018Ch"); +asm("EECON1 equ 018Ch"); typedef union { - struct { - unsigned RD :1; - unsigned WR :1; - unsigned WREN :1; - unsigned WRERR :1; - unsigned :3; - unsigned EEPGD :1; - }; +struct { +unsigned RD :1; +unsigned WR :1; +unsigned WREN :1; +unsigned WRERR :1; +unsigned :3; +unsigned EEPGD :1; +}; } EECON1bits_t; -extern volatile EECON1bits_t EECON1bits __attribute__((address(0x18C))); -# 2361 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char EECON2 __attribute__((address(0x18D))); +extern volatile EECON1bits_t EECON1bits __at(0x18C); -__asm("EECON2 equ 018Dh"); -# 2378 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile __bit ACKDT __attribute__((address(0x48D))); +# 2361 +extern volatile unsigned char EECON2 __at(0x18D); +asm("EECON2 equ 018Dh"); -extern volatile __bit ACKEN __attribute__((address(0x48C))); +# 2378 +extern volatile __bit ACKDT __at(0x48D); -extern volatile __bit ACKSTAT __attribute__((address(0x48E))); +extern volatile __bit ACKEN __at(0x48C); -extern volatile __bit ADCS0 __attribute__((address(0xFE))); +extern volatile __bit ACKSTAT __at(0x48E); -extern volatile __bit ADCS1 __attribute__((address(0xFF))); +extern volatile __bit ADCS0 __at(0xFE); -extern volatile __bit ADCS2 __attribute__((address(0x4FE))); +extern volatile __bit ADCS1 __at(0xFF); -extern volatile __bit ADDEN __attribute__((address(0xC3))); +extern volatile __bit ADCS2 __at(0x4FE); -extern volatile __bit ADFM __attribute__((address(0x4FF))); +extern volatile __bit ADDEN __at(0xC3); -extern volatile __bit ADIE __attribute__((address(0x466))); +extern volatile __bit ADFM __at(0x4FF); -extern volatile __bit ADIF __attribute__((address(0x66))); +extern volatile __bit ADIE __at(0x466); -extern volatile __bit ADON __attribute__((address(0xF8))); +extern volatile __bit ADIF __at(0x66); -extern volatile __bit BCLIE __attribute__((address(0x46B))); +extern volatile __bit ADON __at(0xF8); -extern volatile __bit BCLIF __attribute__((address(0x6B))); +extern volatile __bit BCLIE __at(0x46B); -extern volatile __bit BF __attribute__((address(0x4A0))); +extern volatile __bit BCLIF __at(0x6B); -extern volatile __bit BRGH __attribute__((address(0x4C2))); +extern volatile __bit BF __at(0x4A0); -extern volatile __bit C1INV __attribute__((address(0x4E4))); +extern volatile __bit BRGH __at(0x4C2); -extern volatile __bit C1OUT __attribute__((address(0x4E6))); +extern volatile __bit C1INV __at(0x4E4); -extern volatile __bit C2INV __attribute__((address(0x4E5))); +extern volatile __bit C1OUT __at(0x4E6); -extern volatile __bit C2OUT __attribute__((address(0x4E7))); +extern volatile __bit C2INV __at(0x4E5); -extern volatile __bit CARRY __attribute__((address(0x18))); +extern volatile __bit C2OUT __at(0x4E7); -extern volatile __bit CCP1IE __attribute__((address(0x462))); +extern volatile __bit CARRY __at(0x18); -extern volatile __bit CCP1IF __attribute__((address(0x62))); +extern volatile __bit CCP1IE __at(0x462); -extern volatile __bit CCP1M0 __attribute__((address(0xB8))); +extern volatile __bit CCP1IF __at(0x62); -extern volatile __bit CCP1M1 __attribute__((address(0xB9))); +extern volatile __bit CCP1M0 __at(0xB8); -extern volatile __bit CCP1M2 __attribute__((address(0xBA))); +extern volatile __bit CCP1M1 __at(0xB9); -extern volatile __bit CCP1M3 __attribute__((address(0xBB))); +extern volatile __bit CCP1M2 __at(0xBA); -extern volatile __bit CCP1X __attribute__((address(0xBD))); +extern volatile __bit CCP1M3 __at(0xBB); -extern volatile __bit CCP1Y __attribute__((address(0xBC))); +extern volatile __bit CCP1X __at(0xBD); -extern volatile __bit CCP2IE __attribute__((address(0x468))); +extern volatile __bit CCP1Y __at(0xBC); -extern volatile __bit CCP2IF __attribute__((address(0x68))); +extern volatile __bit CCP2IE __at(0x468); -extern volatile __bit CCP2M0 __attribute__((address(0xE8))); +extern volatile __bit CCP2IF __at(0x68); -extern volatile __bit CCP2M1 __attribute__((address(0xE9))); +extern volatile __bit CCP2M0 __at(0xE8); -extern volatile __bit CCP2M2 __attribute__((address(0xEA))); +extern volatile __bit CCP2M1 __at(0xE9); -extern volatile __bit CCP2M3 __attribute__((address(0xEB))); +extern volatile __bit CCP2M2 __at(0xEA); -extern volatile __bit CCP2X __attribute__((address(0xED))); +extern volatile __bit CCP2M3 __at(0xEB); -extern volatile __bit CCP2Y __attribute__((address(0xEC))); +extern volatile __bit CCP2X __at(0xED); -extern volatile __bit CHS0 __attribute__((address(0xFB))); +extern volatile __bit CCP2Y __at(0xEC); -extern volatile __bit CHS1 __attribute__((address(0xFC))); +extern volatile __bit CHS0 __at(0xFB); -extern volatile __bit CHS2 __attribute__((address(0xFD))); +extern volatile __bit CHS1 __at(0xFC); -extern volatile __bit CIS __attribute__((address(0x4E3))); +extern volatile __bit CHS2 __at(0xFD); -extern volatile __bit CKE __attribute__((address(0x4A6))); +extern volatile __bit CIS __at(0x4E3); -extern volatile __bit CKP __attribute__((address(0xA4))); +extern volatile __bit CKE __at(0x4A6); -extern volatile __bit CM0 __attribute__((address(0x4E0))); +extern volatile __bit CKP __at(0xA4); -extern volatile __bit CM1 __attribute__((address(0x4E1))); +extern volatile __bit CM0 __at(0x4E0); -extern volatile __bit CM2 __attribute__((address(0x4E2))); +extern volatile __bit CM1 __at(0x4E1); -extern volatile __bit CMIE __attribute__((address(0x46E))); +extern volatile __bit CM2 __at(0x4E2); -extern volatile __bit CMIF __attribute__((address(0x6E))); +extern volatile __bit CMIE __at(0x46E); -extern volatile __bit CREN __attribute__((address(0xC4))); +extern volatile __bit CMIF __at(0x6E); -extern volatile __bit CSRC __attribute__((address(0x4C7))); +extern volatile __bit CREN __at(0xC4); -extern volatile __bit CVR0 __attribute__((address(0x4E8))); +extern volatile __bit CSRC __at(0x4C7); -extern volatile __bit CVR1 __attribute__((address(0x4E9))); +extern volatile __bit CVR0 __at(0x4E8); -extern volatile __bit CVR2 __attribute__((address(0x4EA))); +extern volatile __bit CVR1 __at(0x4E9); -extern volatile __bit CVR3 __attribute__((address(0x4EB))); +extern volatile __bit CVR2 __at(0x4EA); -extern volatile __bit CVREN __attribute__((address(0x4EF))); +extern volatile __bit CVR3 __at(0x4EB); -extern volatile __bit CVROE __attribute__((address(0x4EE))); +extern volatile __bit CVREN __at(0x4EF); -extern volatile __bit CVRR __attribute__((address(0x4ED))); +extern volatile __bit CVROE __at(0x4EE); -extern volatile __bit DATA_ADDRESS __attribute__((address(0x4A5))); +extern volatile __bit CVRR __at(0x4ED); -extern volatile __bit DC __attribute__((address(0x19))); +extern volatile __bit DATA_ADDRESS __at(0x4A5); -extern volatile __bit D_A __attribute__((address(0x4A5))); +extern volatile __bit DC __at(0x19); -extern volatile __bit D_nA __attribute__((address(0x4A5))); +extern volatile __bit D_A __at(0x4A5); -extern volatile __bit EEIE __attribute__((address(0x46C))); +extern volatile __bit D_nA __at(0x4A5); -extern volatile __bit EEIF __attribute__((address(0x6C))); +extern volatile __bit EEIE __at(0x46C); -extern volatile __bit EEPGD __attribute__((address(0xC67))); +extern volatile __bit EEIF __at(0x6C); -extern volatile __bit FERR __attribute__((address(0xC2))); +extern volatile __bit EEPGD __at(0xC67); -extern volatile __bit GCEN __attribute__((address(0x48F))); +extern volatile __bit FERR __at(0xC2); -extern volatile __bit GIE __attribute__((address(0x5F))); +extern volatile __bit GCEN __at(0x48F); -extern volatile __bit GO __attribute__((address(0xFA))); +extern volatile __bit GIE __at(0x5F); -extern volatile __bit GO_DONE __attribute__((address(0xFA))); +extern volatile __bit GO __at(0xFA); -extern volatile __bit GO_nDONE __attribute__((address(0xFA))); +extern volatile __bit GO_DONE __at(0xFA); -extern volatile __bit I2C_DATA __attribute__((address(0x4A5))); +extern volatile __bit GO_nDONE __at(0xFA); -extern volatile __bit I2C_READ __attribute__((address(0x4A2))); +extern volatile __bit I2C_DATA __at(0x4A5); -extern volatile __bit I2C_START __attribute__((address(0x4A3))); +extern volatile __bit I2C_READ __at(0x4A2); -extern volatile __bit I2C_STOP __attribute__((address(0x4A4))); +extern volatile __bit I2C_START __at(0x4A3); -extern volatile __bit IBF __attribute__((address(0x44F))); +extern volatile __bit I2C_STOP __at(0x4A4); -extern volatile __bit IBOV __attribute__((address(0x44D))); +extern volatile __bit IBF __at(0x44F); -extern volatile __bit INTE __attribute__((address(0x5C))); +extern volatile __bit IBOV __at(0x44D); -extern volatile __bit INTEDG __attribute__((address(0x40E))); +extern volatile __bit INTE __at(0x5C); -extern volatile __bit INTF __attribute__((address(0x59))); +extern volatile __bit INTEDG __at(0x40E); -extern volatile __bit IRP __attribute__((address(0x1F))); +extern volatile __bit INTF __at(0x59); -extern volatile __bit OBF __attribute__((address(0x44E))); +extern volatile __bit IRP __at(0x1F); -extern volatile __bit OERR __attribute__((address(0xC1))); +extern volatile __bit OBF __at(0x44E); -extern volatile __bit PCFG0 __attribute__((address(0x4F8))); +extern volatile __bit OERR __at(0xC1); -extern volatile __bit PCFG1 __attribute__((address(0x4F9))); +extern volatile __bit PCFG0 __at(0x4F8); -extern volatile __bit PCFG2 __attribute__((address(0x4FA))); +extern volatile __bit PCFG1 __at(0x4F9); -extern volatile __bit PCFG3 __attribute__((address(0x4FB))); +extern volatile __bit PCFG2 __at(0x4FA); -extern volatile __bit PEIE __attribute__((address(0x5E))); +extern volatile __bit PCFG3 __at(0x4FB); -extern volatile __bit PEN __attribute__((address(0x48A))); +extern volatile __bit PEIE __at(0x5E); -extern volatile __bit PS0 __attribute__((address(0x408))); +extern volatile __bit PEN __at(0x48A); -extern volatile __bit PS1 __attribute__((address(0x409))); +extern volatile __bit PS0 __at(0x408); -extern volatile __bit PS2 __attribute__((address(0x40A))); +extern volatile __bit PS1 __at(0x409); -extern volatile __bit PSA __attribute__((address(0x40B))); +extern volatile __bit PS2 __at(0x40A); -extern volatile __bit PSPIE __attribute__((address(0x467))); +extern volatile __bit PSA __at(0x40B); -extern volatile __bit PSPIF __attribute__((address(0x67))); +extern volatile __bit PSPIE __at(0x467); -extern volatile __bit PSPMODE __attribute__((address(0x44C))); +extern volatile __bit PSPIF __at(0x67); -extern volatile __bit RA0 __attribute__((address(0x28))); +extern volatile __bit PSPMODE __at(0x44C); -extern volatile __bit RA1 __attribute__((address(0x29))); +extern volatile __bit RA0 __at(0x28); -extern volatile __bit RA2 __attribute__((address(0x2A))); +extern volatile __bit RA1 __at(0x29); -extern volatile __bit RA3 __attribute__((address(0x2B))); +extern volatile __bit RA2 __at(0x2A); -extern volatile __bit RA4 __attribute__((address(0x2C))); +extern volatile __bit RA3 __at(0x2B); -extern volatile __bit RA5 __attribute__((address(0x2D))); +extern volatile __bit RA4 __at(0x2C); -extern volatile __bit RB0 __attribute__((address(0x30))); +extern volatile __bit RA5 __at(0x2D); -extern volatile __bit RB1 __attribute__((address(0x31))); +extern volatile __bit RB0 __at(0x30); -extern volatile __bit RB2 __attribute__((address(0x32))); +extern volatile __bit RB1 __at(0x31); -extern volatile __bit RB3 __attribute__((address(0x33))); +extern volatile __bit RB2 __at(0x32); -extern volatile __bit RB4 __attribute__((address(0x34))); +extern volatile __bit RB3 __at(0x33); -extern volatile __bit RB5 __attribute__((address(0x35))); +extern volatile __bit RB4 __at(0x34); -extern volatile __bit RB6 __attribute__((address(0x36))); +extern volatile __bit RB5 __at(0x35); -extern volatile __bit RB7 __attribute__((address(0x37))); +extern volatile __bit RB6 __at(0x36); -extern volatile __bit RBIE __attribute__((address(0x5B))); +extern volatile __bit RB7 __at(0x37); -extern volatile __bit RBIF __attribute__((address(0x58))); +extern volatile __bit RBIE __at(0x5B); -extern volatile __bit RC0 __attribute__((address(0x38))); +extern volatile __bit RBIF __at(0x58); -extern volatile __bit RC1 __attribute__((address(0x39))); +extern volatile __bit RC0 __at(0x38); -extern volatile __bit RC2 __attribute__((address(0x3A))); +extern volatile __bit RC1 __at(0x39); -extern volatile __bit RC3 __attribute__((address(0x3B))); +extern volatile __bit RC2 __at(0x3A); -extern volatile __bit RC4 __attribute__((address(0x3C))); +extern volatile __bit RC3 __at(0x3B); -extern volatile __bit RC5 __attribute__((address(0x3D))); +extern volatile __bit RC4 __at(0x3C); -extern volatile __bit RC6 __attribute__((address(0x3E))); +extern volatile __bit RC5 __at(0x3D); -extern volatile __bit RC7 __attribute__((address(0x3F))); +extern volatile __bit RC6 __at(0x3E); -extern volatile __bit RC8_9 __attribute__((address(0xC6))); +extern volatile __bit RC7 __at(0x3F); -extern volatile __bit RC9 __attribute__((address(0xC6))); +extern volatile __bit RC8_9 __at(0xC6); -extern volatile __bit RCD8 __attribute__((address(0xC0))); +extern volatile __bit RC9 __at(0xC6); -extern volatile __bit RCEN __attribute__((address(0x48B))); +extern volatile __bit RCD8 __at(0xC0); -extern volatile __bit RCIE __attribute__((address(0x465))); +extern volatile __bit RCEN __at(0x48B); -extern volatile __bit RCIF __attribute__((address(0x65))); +extern volatile __bit RCIE __at(0x465); -extern volatile __bit RD __attribute__((address(0xC60))); +extern volatile __bit RCIF __at(0x65); -extern volatile __bit RD0 __attribute__((address(0x40))); +extern volatile __bit RD __at(0xC60); -extern volatile __bit RD1 __attribute__((address(0x41))); +extern volatile __bit RD0 __at(0x40); -extern volatile __bit RD2 __attribute__((address(0x42))); +extern volatile __bit RD1 __at(0x41); -extern volatile __bit RD3 __attribute__((address(0x43))); +extern volatile __bit RD2 __at(0x42); -extern volatile __bit RD4 __attribute__((address(0x44))); +extern volatile __bit RD3 __at(0x43); -extern volatile __bit RD5 __attribute__((address(0x45))); +extern volatile __bit RD4 __at(0x44); -extern volatile __bit RD6 __attribute__((address(0x46))); +extern volatile __bit RD5 __at(0x45); -extern volatile __bit RD7 __attribute__((address(0x47))); +extern volatile __bit RD6 __at(0x46); -extern volatile __bit RE0 __attribute__((address(0x48))); +extern volatile __bit RD7 __at(0x47); -extern volatile __bit RE1 __attribute__((address(0x49))); +extern volatile __bit RE0 __at(0x48); -extern volatile __bit RE2 __attribute__((address(0x4A))); +extern volatile __bit RE1 __at(0x49); -extern volatile __bit READ_WRITE __attribute__((address(0x4A2))); +extern volatile __bit RE2 __at(0x4A); -extern volatile __bit RP0 __attribute__((address(0x1D))); +extern volatile __bit READ_WRITE __at(0x4A2); -extern volatile __bit RP1 __attribute__((address(0x1E))); +extern volatile __bit RP0 __at(0x1D); -extern volatile __bit RSEN __attribute__((address(0x489))); +extern volatile __bit RP1 __at(0x1E); -extern volatile __bit RX9 __attribute__((address(0xC6))); +extern volatile __bit RSEN __at(0x489); -extern volatile __bit RX9D __attribute__((address(0xC0))); +extern volatile __bit RX9 __at(0xC6); -extern volatile __bit R_W __attribute__((address(0x4A2))); +extern volatile __bit RX9D __at(0xC0); -extern volatile __bit R_nW __attribute__((address(0x4A2))); +extern volatile __bit R_W __at(0x4A2); -extern volatile __bit SEN __attribute__((address(0x488))); +extern volatile __bit R_nW __at(0x4A2); -extern volatile __bit SMP __attribute__((address(0x4A7))); +extern volatile __bit SEN __at(0x488); -extern volatile __bit SPEN __attribute__((address(0xC7))); +extern volatile __bit SMP __at(0x4A7); -extern volatile __bit SREN __attribute__((address(0xC5))); +extern volatile __bit SPEN __at(0xC7); -extern volatile __bit SSPEN __attribute__((address(0xA5))); +extern volatile __bit SREN __at(0xC5); -extern volatile __bit SSPIE __attribute__((address(0x463))); +extern volatile __bit SSPEN __at(0xA5); -extern volatile __bit SSPIF __attribute__((address(0x63))); +extern volatile __bit SSPIE __at(0x463); -extern volatile __bit SSPM0 __attribute__((address(0xA0))); +extern volatile __bit SSPIF __at(0x63); -extern volatile __bit SSPM1 __attribute__((address(0xA1))); +extern volatile __bit SSPM0 __at(0xA0); -extern volatile __bit SSPM2 __attribute__((address(0xA2))); +extern volatile __bit SSPM1 __at(0xA1); -extern volatile __bit SSPM3 __attribute__((address(0xA3))); +extern volatile __bit SSPM2 __at(0xA2); -extern volatile __bit SSPOV __attribute__((address(0xA6))); +extern volatile __bit SSPM3 __at(0xA3); -extern volatile __bit SYNC __attribute__((address(0x4C4))); +extern volatile __bit SSPOV __at(0xA6); -extern volatile __bit T0CS __attribute__((address(0x40D))); +extern volatile __bit SYNC __at(0x4C4); -extern volatile __bit T0IE __attribute__((address(0x5D))); +extern volatile __bit T0CS __at(0x40D); -extern volatile __bit T0IF __attribute__((address(0x5A))); +extern volatile __bit T0IE __at(0x5D); -extern volatile __bit T0SE __attribute__((address(0x40C))); +extern volatile __bit T0IF __at(0x5A); -extern volatile __bit T1CKPS0 __attribute__((address(0x84))); +extern volatile __bit T0SE __at(0x40C); -extern volatile __bit T1CKPS1 __attribute__((address(0x85))); +extern volatile __bit T1CKPS0 __at(0x84); -extern volatile __bit T1INSYNC __attribute__((address(0x82))); +extern volatile __bit T1CKPS1 __at(0x85); -extern volatile __bit T1OSCEN __attribute__((address(0x83))); +extern volatile __bit T1INSYNC __at(0x82); -extern volatile __bit T1SYNC __attribute__((address(0x82))); +extern volatile __bit T1OSCEN __at(0x83); -extern volatile __bit T2CKPS0 __attribute__((address(0x90))); +extern volatile __bit T1SYNC __at(0x82); -extern volatile __bit T2CKPS1 __attribute__((address(0x91))); +extern volatile __bit T2CKPS0 __at(0x90); -extern volatile __bit TMR0IE __attribute__((address(0x5D))); +extern volatile __bit T2CKPS1 __at(0x91); -extern volatile __bit TMR0IF __attribute__((address(0x5A))); +extern volatile __bit TMR0IE __at(0x5D); -extern volatile __bit TMR1CS __attribute__((address(0x81))); +extern volatile __bit TMR0IF __at(0x5A); -extern volatile __bit TMR1IE __attribute__((address(0x460))); +extern volatile __bit TMR1CS __at(0x81); -extern volatile __bit TMR1IF __attribute__((address(0x60))); +extern volatile __bit TMR1IE __at(0x460); -extern volatile __bit TMR1ON __attribute__((address(0x80))); +extern volatile __bit TMR1IF __at(0x60); -extern volatile __bit TMR2IE __attribute__((address(0x461))); +extern volatile __bit TMR1ON __at(0x80); -extern volatile __bit TMR2IF __attribute__((address(0x61))); +extern volatile __bit TMR2IE __at(0x461); -extern volatile __bit TMR2ON __attribute__((address(0x92))); +extern volatile __bit TMR2IF __at(0x61); -extern volatile __bit TOUTPS0 __attribute__((address(0x93))); +extern volatile __bit TMR2ON __at(0x92); -extern volatile __bit TOUTPS1 __attribute__((address(0x94))); +extern volatile __bit TOUTPS0 __at(0x93); -extern volatile __bit TOUTPS2 __attribute__((address(0x95))); +extern volatile __bit TOUTPS1 __at(0x94); -extern volatile __bit TOUTPS3 __attribute__((address(0x96))); +extern volatile __bit TOUTPS2 __at(0x95); -extern volatile __bit TRISA0 __attribute__((address(0x428))); +extern volatile __bit TOUTPS3 __at(0x96); -extern volatile __bit TRISA1 __attribute__((address(0x429))); +extern volatile __bit TRISA0 __at(0x428); -extern volatile __bit TRISA2 __attribute__((address(0x42A))); +extern volatile __bit TRISA1 __at(0x429); -extern volatile __bit TRISA3 __attribute__((address(0x42B))); +extern volatile __bit TRISA2 __at(0x42A); -extern volatile __bit TRISA4 __attribute__((address(0x42C))); +extern volatile __bit TRISA3 __at(0x42B); -extern volatile __bit TRISA5 __attribute__((address(0x42D))); +extern volatile __bit TRISA4 __at(0x42C); -extern volatile __bit TRISB0 __attribute__((address(0x430))); +extern volatile __bit TRISA5 __at(0x42D); -extern volatile __bit TRISB1 __attribute__((address(0x431))); +extern volatile __bit TRISB0 __at(0x430); -extern volatile __bit TRISB2 __attribute__((address(0x432))); +extern volatile __bit TRISB1 __at(0x431); -extern volatile __bit TRISB3 __attribute__((address(0x433))); +extern volatile __bit TRISB2 __at(0x432); -extern volatile __bit TRISB4 __attribute__((address(0x434))); +extern volatile __bit TRISB3 __at(0x433); -extern volatile __bit TRISB5 __attribute__((address(0x435))); +extern volatile __bit TRISB4 __at(0x434); -extern volatile __bit TRISB6 __attribute__((address(0x436))); +extern volatile __bit TRISB5 __at(0x435); -extern volatile __bit TRISB7 __attribute__((address(0x437))); +extern volatile __bit TRISB6 __at(0x436); -extern volatile __bit TRISC0 __attribute__((address(0x438))); +extern volatile __bit TRISB7 __at(0x437); -extern volatile __bit TRISC1 __attribute__((address(0x439))); +extern volatile __bit TRISC0 __at(0x438); -extern volatile __bit TRISC2 __attribute__((address(0x43A))); +extern volatile __bit TRISC1 __at(0x439); -extern volatile __bit TRISC3 __attribute__((address(0x43B))); +extern volatile __bit TRISC2 __at(0x43A); -extern volatile __bit TRISC4 __attribute__((address(0x43C))); +extern volatile __bit TRISC3 __at(0x43B); -extern volatile __bit TRISC5 __attribute__((address(0x43D))); +extern volatile __bit TRISC4 __at(0x43C); -extern volatile __bit TRISC6 __attribute__((address(0x43E))); +extern volatile __bit TRISC5 __at(0x43D); -extern volatile __bit TRISC7 __attribute__((address(0x43F))); +extern volatile __bit TRISC6 __at(0x43E); -extern volatile __bit TRISD0 __attribute__((address(0x440))); +extern volatile __bit TRISC7 __at(0x43F); -extern volatile __bit TRISD1 __attribute__((address(0x441))); +extern volatile __bit TRISD0 __at(0x440); -extern volatile __bit TRISD2 __attribute__((address(0x442))); +extern volatile __bit TRISD1 __at(0x441); -extern volatile __bit TRISD3 __attribute__((address(0x443))); +extern volatile __bit TRISD2 __at(0x442); -extern volatile __bit TRISD4 __attribute__((address(0x444))); +extern volatile __bit TRISD3 __at(0x443); -extern volatile __bit TRISD5 __attribute__((address(0x445))); +extern volatile __bit TRISD4 __at(0x444); -extern volatile __bit TRISD6 __attribute__((address(0x446))); +extern volatile __bit TRISD5 __at(0x445); -extern volatile __bit TRISD7 __attribute__((address(0x447))); +extern volatile __bit TRISD6 __at(0x446); -extern volatile __bit TRISE0 __attribute__((address(0x448))); +extern volatile __bit TRISD7 __at(0x447); -extern volatile __bit TRISE1 __attribute__((address(0x449))); +extern volatile __bit TRISE0 __at(0x448); -extern volatile __bit TRISE2 __attribute__((address(0x44A))); +extern volatile __bit TRISE1 __at(0x449); -extern volatile __bit TRMT __attribute__((address(0x4C1))); +extern volatile __bit TRISE2 __at(0x44A); -extern volatile __bit TX8_9 __attribute__((address(0x4C6))); +extern volatile __bit TRMT __at(0x4C1); -extern volatile __bit TX9 __attribute__((address(0x4C6))); +extern volatile __bit TX8_9 __at(0x4C6); -extern volatile __bit TX9D __attribute__((address(0x4C0))); +extern volatile __bit TX9 __at(0x4C6); -extern volatile __bit TXD8 __attribute__((address(0x4C0))); +extern volatile __bit TX9D __at(0x4C0); -extern volatile __bit TXEN __attribute__((address(0x4C5))); +extern volatile __bit TXD8 __at(0x4C0); -extern volatile __bit TXIE __attribute__((address(0x464))); +extern volatile __bit TXEN __at(0x4C5); -extern volatile __bit TXIF __attribute__((address(0x64))); +extern volatile __bit TXIE __at(0x464); -extern volatile __bit UA __attribute__((address(0x4A1))); +extern volatile __bit TXIF __at(0x64); -extern volatile __bit WCOL __attribute__((address(0xA7))); +extern volatile __bit UA __at(0x4A1); -extern volatile __bit WR __attribute__((address(0xC61))); +extern volatile __bit WCOL __at(0xA7); -extern volatile __bit WREN __attribute__((address(0xC62))); +extern volatile __bit WR __at(0xC61); -extern volatile __bit WRERR __attribute__((address(0xC63))); +extern volatile __bit WREN __at(0xC62); -extern volatile __bit ZERO __attribute__((address(0x1A))); +extern volatile __bit WRERR __at(0xC63); -extern volatile __bit nA __attribute__((address(0x4A5))); +extern volatile __bit ZERO __at(0x1A); -extern volatile __bit nADDRESS __attribute__((address(0x4A5))); +extern volatile __bit nA __at(0x4A5); -extern volatile __bit nBO __attribute__((address(0x470))); +extern volatile __bit nADDRESS __at(0x4A5); -extern volatile __bit nBOR __attribute__((address(0x470))); +extern volatile __bit nBO __at(0x470); -extern volatile __bit nDONE __attribute__((address(0xFA))); +extern volatile __bit nBOR __at(0x470); -extern volatile __bit nPD __attribute__((address(0x1B))); +extern volatile __bit nDONE __at(0xFA); -extern volatile __bit nPOR __attribute__((address(0x471))); +extern volatile __bit nPD __at(0x1B); -extern volatile __bit nRBPU __attribute__((address(0x40F))); +extern volatile __bit nPOR __at(0x471); -extern volatile __bit nRC8 __attribute__((address(0xC6))); +extern volatile __bit nRBPU __at(0x40F); -extern volatile __bit nT1SYNC __attribute__((address(0x82))); +extern volatile __bit nRC8 __at(0xC6); -extern volatile __bit nTO __attribute__((address(0x1C))); +extern volatile __bit nT1SYNC __at(0x82); -extern volatile __bit nTX8 __attribute__((address(0x4C6))); +extern volatile __bit nTO __at(0x1C); -extern volatile __bit nW __attribute__((address(0x4A2))); +extern volatile __bit nTX8 __at(0x4C6); -extern volatile __bit nWRITE __attribute__((address(0x4A2))); -# 665 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic_chip_select.h" 2 3 -# 14 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 2 3 -# 76 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 3 +extern volatile __bit nW __at(0x4A2); + + +extern volatile __bit nWRITE __at(0x4A2); + +# 76 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\pic.h" __attribute__((__unsupported__("The " "FLASH_READ" " macro function is no longer supported. Please use the MPLAB X MCC."))) unsigned char __flash_read(unsigned short addr); __attribute__((__unsupported__("The " "FLASH_WRITE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_write(unsigned short addr, unsigned short data); __attribute__((__unsupported__("The " "FLASH_ERASE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_erase(unsigned short addr); - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\eeprom_routines.h" 1 3 -# 114 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\eeprom_routines.h" 3 +# 114 "C:\Program Files\Microchip\xc8\v2.45\pic\include\eeprom_routines.h" extern void eeprom_write(unsigned char addr, unsigned char value); extern unsigned char eeprom_read(unsigned char addr); -# 84 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 2 3 -# 118 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 3 + +# 118 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\pic.h" extern __bank0 unsigned char __resetbits; extern __bank0 __bit __powerdown; extern __bank0 __bit __timeout; -# 29 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 2 3 -# 1 "main.c" 2 - - +# 5 "main.c" #pragma config FOSC = HS #pragma config WDTE = OFF #pragma config PWRTE = OFF @@ -1913,83 +1803,83 @@ unsigned char timer0Counter = 0; unsigned char timer1Counter = 0; unsigned char timer2Counter = 0; -void __attribute__((picinterrupt(("")))) timersISR(void); +void interrupt timersISR(void); void main(void) { - INTCONbits.GIE = 1; - INTCONbits.PEIE = 1; - - - INTCONbits.TMR0IE = 1; - OPTION_REG = 0x07; - TMR0 = 59; - - - PIE1bits.TMR1IE = 1; - T1CONbits.TMR1ON = 1; - T1CONbits.T1CKPS0 = 1; - T1CONbits.T1CKPS1 = 1; - T1CONbits.TMR1CS = 0; - TMR1H = 0x3D; - TMR1L = 0x0A; - - - PIE1bits.TMR2IE = 1; - T2CONbits.TMR2ON = 1; - T2CONbits.TOUTPS0 = 1; - T2CONbits.TOUTPS1 = 1; - T2CONbits.TOUTPS2 = 1; - T2CONbits.TOUTPS3 = 1; - T2CONbits.T2CKPS1 = 1; - PR2 = 252; - - TRISCbits.TRISC0 = 0; - TRISCbits.TRISC1 = 0; - TRISCbits.TRISC2 = 0; - PORTCbits.RC0 = 0; - PORTCbits.RC1 = 0; - PORTCbits.RC2 = 0; - - while (1) { - if (timer0Counter == 100) { - PORTCbits.RC0 = ~PORTCbits.RC0; - timer0Counter = 0; - } - - if (timer1Counter == 10) { - PORTCbits.RC1 = ~PORTCbits.RC1; - timer1Counter = 0; - } - - if (timer2Counter == 100) { - PORTCbits.RC2 = ~PORTCbits.RC2; - timer2Counter = 0; - } - } - - return; +INTCONbits.GIE = 1; +INTCONbits.PEIE = 1; + + +INTCONbits.TMR0IE = 1; +OPTION_REG = 0x07; +TMR0 = 59; + + +PIE1bits.TMR1IE = 1; +T1CONbits.TMR1ON = 1; +T1CONbits.T1CKPS0 = 1; +T1CONbits.T1CKPS1 = 1; +T1CONbits.TMR1CS = 0; +TMR1H = 0x3D; +TMR1L = 0x0A; + + +PIE1bits.TMR2IE = 1; +T2CONbits.TMR2ON = 1; +T2CONbits.TOUTPS0 = 1; +T2CONbits.TOUTPS1 = 1; +T2CONbits.TOUTPS2 = 1; +T2CONbits.TOUTPS3 = 1; +T2CONbits.T2CKPS1 = 1; +PR2 = 252; + +TRISCbits.TRISC0 = 0; +TRISCbits.TRISC1 = 0; +TRISCbits.TRISC2 = 0; +PORTCbits.RC0 = 0; +PORTCbits.RC1 = 0; +PORTCbits.RC2 = 0; + +while (1) { +if (timer0Counter == 100) { +PORTCbits.RC0 = ~PORTCbits.RC0; +timer0Counter = 0; +} + +if (timer1Counter == 10) { +PORTCbits.RC1 = ~PORTCbits.RC1; +timer1Counter = 0; } -void __attribute__((picinterrupt(("")))) timersISR(void) { +if (timer2Counter == 100) { +PORTCbits.RC2 = ~PORTCbits.RC2; +timer2Counter = 0; +} +} - if (INTCONbits.TMR0IF == 1) { - ++timer0Counter; - INTCONbits.TMR0IF = 0; - TMR0 = 59; - } +return; +} +void interrupt timersISR(void) { - if (PIR1bits.TMR1IF == 1) { - ++timer1Counter; - PIR1bits.TMR1IF = 0; - TMR1H = 0x3D; - TMR1L = 0x0A; - } +if (INTCONbits.TMR0IF == 1) { +++timer0Counter; +INTCONbits.TMR0IF = 0; +TMR0 = 59; +} - if (PIR1bits.TMR2IF == 1) { - ++timer2Counter; - PIR1bits.TMR2IF = 0; - PR2 = 252; - } +if (PIR1bits.TMR1IF == 1) { +++timer1Counter; +PIR1bits.TMR1IF = 0; +TMR1H = 0x3D; +TMR1L = 0x0A; +} + + +if (PIR1bits.TMR2IF == 1) { +++timer2Counter; +PIR1bits.TMR2IF = 0; +PR2 = 252; +} } diff --git a/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1 b/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1 index 4c66ef1..9d1fe4a 100644 --- a/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1 +++ b/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1 @@ -1,531 +1,1370 @@ -Version 4.0 HI-TECH Software Intermediate Code +Version 3.2 HI-TECH Software Intermediate Code [p mainexit ] "460 C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 460: struct { -[s S22 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S22 . RBIF INTF TMR0IF RBIE INTE TMR0IE PEIE GIE ] +[s S18 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S18 . RBIF INTF TMR0IF RBIE INTE TMR0IE PEIE GIE ] "470 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 470: struct { -[s S23 :2 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] -[n S23 . . T0IF . T0IE ] +[s S19 :2 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] +[n S19 . . T0IF . T0IE ] "459 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 459: typedef union { -[u S21 `S22 1 `S23 1 ] -[n S21 . . . ] +[u S17 `S18 1 `S19 1 ] +[n S17 . . . ] "477 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 477: extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); -[v _INTCONbits `VS21 ~T0 @X0 0 e@11 ] +[v _INTCONbits `VS17 ~T0 @X0 0 e@11 ] "1255 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1255: extern volatile unsigned char OPTION_REG __attribute__((address(0x081))); [v _OPTION_REG `Vuc ~T0 @X0 0 e@129 ] "59 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 59: extern volatile unsigned char TMR0 __attribute__((address(0x001))); [v _TMR0 `Vuc ~T0 @X0 0 e@1 ] "1624 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1624: struct { -[s S68 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S68 . TMR1IE TMR2IE CCP1IE SSPIE TXIE RCIE ADIE PSPIE ] +[s S64 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S64 . TMR1IE TMR2IE CCP1IE SSPIE TXIE RCIE ADIE PSPIE ] "1623 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1623: typedef union { -[u S67 `S68 1 ] -[n S67 . . ] +[u S63 `S64 1 ] +[n S63 . . ] "1635 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1635: extern volatile PIE1bits_t PIE1bits __attribute__((address(0x08C))); -[v _PIE1bits `VS67 ~T0 @X0 0 e@140 ] +[v _PIE1bits `VS63 ~T0 @X0 0 e@140 ] "661 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 661: struct { -[s S29 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :2 `uc 1 ] -[n S29 . TMR1ON TMR1CS nT1SYNC T1OSCEN T1CKPS ] +[s S25 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :2 `uc 1 ] +[n S25 . TMR1ON TMR1CS nT1SYNC T1OSCEN T1CKPS ] "668 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 668: struct { -[s S30 :2 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S30 . . T1SYNC . T1CKPS0 T1CKPS1 ] +[s S26 :2 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S26 . . T1SYNC . T1CKPS0 T1CKPS1 ] "675 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 675: struct { -[s S31 :2 `uc 1 :1 `uc 1 ] -[n S31 . . T1INSYNC ] +[s S27 :2 `uc 1 :1 `uc 1 ] +[n S27 . . T1INSYNC ] "660 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 660: typedef union { -[u S28 `S29 1 `S30 1 `S31 1 ] -[n S28 . . . . ] +[u S24 `S25 1 `S26 1 `S27 1 ] +[n S24 . . . . ] "680 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 680: extern volatile T1CONbits_t T1CONbits __attribute__((address(0x010))); -[v _T1CONbits `VS28 ~T0 @X0 0 e@16 ] +[v _T1CONbits `VS24 ~T0 @X0 0 e@16 ] "648 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 648: extern volatile unsigned char TMR1H __attribute__((address(0x00F))); [v _TMR1H `Vuc ~T0 @X0 0 e@15 ] "641 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 641: extern volatile unsigned char TMR1L __attribute__((address(0x00E))); [v _TMR1L `Vuc ~T0 @X0 0 e@14 ] "743 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 743: struct { -[s S33 :2 `uc 1 :1 `uc 1 :4 `uc 1 ] -[n S33 . T2CKPS TMR2ON TOUTPS ] +[s S29 :2 `uc 1 :1 `uc 1 :4 `uc 1 ] +[n S29 . T2CKPS TMR2ON TOUTPS ] "748 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 748: struct { -[s S34 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S34 . T2CKPS0 T2CKPS1 . TOUTPS0 TOUTPS1 TOUTPS2 TOUTPS3 ] +[s S30 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S30 . T2CKPS0 T2CKPS1 . TOUTPS0 TOUTPS1 TOUTPS2 TOUTPS3 ] "742 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 742: typedef union { -[u S32 `S33 1 `S34 1 ] -[n S32 . . . ] +[u S28 `S29 1 `S30 1 ] +[n S28 . . . ] "758 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 758: extern volatile T2CONbits_t T2CONbits __attribute__((address(0x012))); -[v _T2CONbits `VS32 ~T0 @X0 0 e@18 ] +[v _T2CONbits `VS28 ~T0 @X0 0 e@18 ] "1816 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1816: extern volatile unsigned char PR2 __attribute__((address(0x092))); [v _PR2 `Vuc ~T0 @X0 0 e@146 ] "1443 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1443: struct { -[s S62 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S62 . TRISC0 TRISC1 TRISC2 TRISC3 TRISC4 TRISC5 TRISC6 TRISC7 ] +[s S58 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S58 . TRISC0 TRISC1 TRISC2 TRISC3 TRISC4 TRISC5 TRISC6 TRISC7 ] "1442 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1442: typedef union { -[u S61 `S62 1 ] -[n S61 . . ] +[u S57 `S58 1 ] +[n S57 . . ] "1454 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1454: extern volatile TRISCbits_t TRISCbits __attribute__((address(0x087))); -[v _TRISCbits `VS61 ~T0 @X0 0 e@135 ] +[v _TRISCbits `VS57 ~T0 @X0 0 e@135 ] "284 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 284: struct { -[s S14 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S14 . RC0 RC1 RC2 RC3 RC4 RC5 RC6 RC7 ] +[s S10 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S10 . RC0 RC1 RC2 RC3 RC4 RC5 RC6 RC7 ] "283 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 283: typedef union { -[u S13 `S14 1 ] -[n S13 . . ] +[u S9 `S10 1 ] +[n S9 . . ] "295 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 295: extern volatile PORTCbits_t PORTCbits __attribute__((address(0x007))); -[v _PORTCbits `VS13 ~T0 @X0 0 e@7 ] -[t ~ __interrupt . k ] -[t T2 __interrupt ] +[v _PORTCbits `VS9 ~T0 @X0 0 e@7 ] "538 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 538: struct { -[s S25 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S25 . TMR1IF TMR2IF CCP1IF SSPIF TXIF RCIF ADIF PSPIF ] +[s S21 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S21 . TMR1IF TMR2IF CCP1IF SSPIF TXIF RCIF ADIF PSPIF ] "537 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 537: typedef union { -[u S24 `S25 1 ] -[n S24 . . ] +[u S20 `S21 1 ] +[n S20 . . ] "549 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 549: extern volatile PIR1bits_t PIR1bits __attribute__((address(0x00C))); -[v _PIR1bits `VS24 ~T0 @X0 0 e@12 ] +[v _PIR1bits `VS20 ~T0 @X0 0 e@12 ] +[; ;xc8\pic\include\xc.h: 18: extern const char __xc8_OPTIM_SPEED; +[; ;xc8\pic\include\xc.h: 20: extern double __fpnormalize(double); +[; ;xc8debug.h: 14: extern void __builtin_software_breakpoint(void); +[; ;stdint.h: 13: typedef signed char int8_t; +[; ;stdint.h: 20: typedef signed int int16_t; +[; ;stdint.h: 28: typedef __int24 int24_t; +[; ;stdint.h: 36: typedef signed long int int32_t; +[; ;stdint.h: 52: typedef unsigned char uint8_t; +[; ;stdint.h: 58: typedef unsigned int uint16_t; +[; ;stdint.h: 65: typedef __uint24 uint24_t; +[; ;stdint.h: 72: typedef unsigned long int uint32_t; +[; ;stdint.h: 88: typedef signed char int_least8_t; +[; ;stdint.h: 96: typedef signed int int_least16_t; +[; ;stdint.h: 109: typedef __int24 int_least24_t; +[; ;stdint.h: 118: typedef signed long int int_least32_t; +[; ;stdint.h: 136: typedef unsigned char uint_least8_t; +[; ;stdint.h: 143: typedef unsigned int uint_least16_t; +[; ;stdint.h: 154: typedef __uint24 uint_least24_t; +[; ;stdint.h: 162: typedef unsigned long int uint_least32_t; +[; ;stdint.h: 181: typedef signed char int_fast8_t; +[; ;stdint.h: 188: typedef signed int int_fast16_t; +[; ;stdint.h: 200: typedef __int24 int_fast24_t; +[; ;stdint.h: 208: typedef signed long int int_fast32_t; +[; ;stdint.h: 224: typedef unsigned char uint_fast8_t; +[; ;stdint.h: 230: typedef unsigned int uint_fast16_t; +[; ;stdint.h: 240: typedef __uint24 uint_fast24_t; +[; ;stdint.h: 247: typedef unsigned long int uint_fast32_t; +[; ;stdint.h: 268: typedef int32_t intmax_t; +[; ;stdint.h: 282: typedef uint32_t uintmax_t; +[; ;stdint.h: 289: typedef int16_t intptr_t; +[; ;stdint.h: 294: typedef uint16_t uintptr_t; +[; ;xc8\pic\include\builtins.h: 8: extern void __nop(void); +[; ;xc8\pic\include\builtins.h: 12: extern __nonreentrant void _delay(uint32_t); +[; ;xc8\pic\include\builtins.h: 14: extern __nonreentrant void _delaywdt(uint32_t); +[; ;xc8\pic\include\proc\pic16f877a.h: 52: extern volatile unsigned char INDF __at(0x000); "54 C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 54: __asm("INDF equ 00h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 54: asm("INDF equ 00h"); [; <" INDF equ 00h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 59: extern volatile unsigned char TMR0 __at(0x001); "61 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 61: __asm("TMR0 equ 01h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 61: asm("TMR0 equ 01h"); [; <" TMR0 equ 01h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 66: extern volatile unsigned char PCL __at(0x002); "68 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 68: __asm("PCL equ 02h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 68: asm("PCL equ 02h"); [; <" PCL equ 02h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 73: extern volatile unsigned char STATUS __at(0x003); "75 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 75: __asm("STATUS equ 03h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 75: asm("STATUS equ 03h"); [; <" STATUS equ 03h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 78: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 79: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 80: unsigned C :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 81: unsigned DC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 82: unsigned Z :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 83: unsigned nPD :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 84: unsigned nTO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 85: unsigned RP :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 86: unsigned IRP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 87: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 88: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 89: unsigned :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 90: unsigned RP0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 91: unsigned RP1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 92: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 93: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 94: unsigned CARRY :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 95: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 96: unsigned ZERO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 97: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 98: } STATUSbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 99: extern volatile STATUSbits_t STATUSbits __at(0x003); +[; ;xc8\pic\include\proc\pic16f877a.h: 159: extern volatile unsigned char FSR __at(0x004); "161 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 161: __asm("FSR equ 04h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 161: asm("FSR equ 04h"); [; <" FSR equ 04h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 166: extern volatile unsigned char PORTA __at(0x005); "168 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 168: __asm("PORTA equ 05h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 168: asm("PORTA equ 05h"); [; <" PORTA equ 05h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 171: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 172: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 173: unsigned RA0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 174: unsigned RA1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 175: unsigned RA2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 176: unsigned RA3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 177: unsigned RA4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 178: unsigned RA5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 179: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 180: } PORTAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 181: extern volatile PORTAbits_t PORTAbits __at(0x005); +[; ;xc8\pic\include\proc\pic16f877a.h: 216: extern volatile unsigned char PORTB __at(0x006); "218 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 218: __asm("PORTB equ 06h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 218: asm("PORTB equ 06h"); [; <" PORTB equ 06h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 221: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 222: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 223: unsigned RB0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 224: unsigned RB1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 225: unsigned RB2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 226: unsigned RB3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 227: unsigned RB4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 228: unsigned RB5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 229: unsigned RB6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 230: unsigned RB7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 231: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 232: } PORTBbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 233: extern volatile PORTBbits_t PORTBbits __at(0x006); +[; ;xc8\pic\include\proc\pic16f877a.h: 278: extern volatile unsigned char PORTC __at(0x007); "280 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 280: __asm("PORTC equ 07h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 280: asm("PORTC equ 07h"); [; <" PORTC equ 07h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 283: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 284: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 285: unsigned RC0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 286: unsigned RC1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 287: unsigned RC2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 288: unsigned RC3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 289: unsigned RC4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 290: unsigned RC5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 291: unsigned RC6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 292: unsigned RC7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 293: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 294: } PORTCbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 295: extern volatile PORTCbits_t PORTCbits __at(0x007); +[; ;xc8\pic\include\proc\pic16f877a.h: 340: extern volatile unsigned char PORTD __at(0x008); "342 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 342: __asm("PORTD equ 08h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 342: asm("PORTD equ 08h"); [; <" PORTD equ 08h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 345: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 346: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 347: unsigned RD0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 348: unsigned RD1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 349: unsigned RD2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 350: unsigned RD3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 351: unsigned RD4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 352: unsigned RD5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 353: unsigned RD6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 354: unsigned RD7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 355: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 356: } PORTDbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 357: extern volatile PORTDbits_t PORTDbits __at(0x008); +[; ;xc8\pic\include\proc\pic16f877a.h: 402: extern volatile unsigned char PORTE __at(0x009); "404 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 404: __asm("PORTE equ 09h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 404: asm("PORTE equ 09h"); [; <" PORTE equ 09h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 407: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 408: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 409: unsigned RE0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 410: unsigned RE1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 411: unsigned RE2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 412: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 413: } PORTEbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 414: extern volatile PORTEbits_t PORTEbits __at(0x009); +[; ;xc8\pic\include\proc\pic16f877a.h: 434: extern volatile unsigned char PCLATH __at(0x00A); "436 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 436: __asm("PCLATH equ 0Ah"); +[; ;xc8\pic\include\proc\pic16f877a.h: 436: asm("PCLATH equ 0Ah"); [; <" PCLATH equ 0Ah ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 439: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 440: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 441: unsigned PCLATH :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 442: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 443: } PCLATHbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 444: extern volatile PCLATHbits_t PCLATHbits __at(0x00A); +[; ;xc8\pic\include\proc\pic16f877a.h: 454: extern volatile unsigned char INTCON __at(0x00B); "456 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 456: __asm("INTCON equ 0Bh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 456: asm("INTCON equ 0Bh"); [; <" INTCON equ 0Bh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 459: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 460: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 461: unsigned RBIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 462: unsigned INTF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 463: unsigned TMR0IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 464: unsigned RBIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 465: unsigned INTE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 466: unsigned TMR0IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 467: unsigned PEIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 468: unsigned GIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 469: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 470: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 471: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 472: unsigned T0IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 473: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 474: unsigned T0IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 475: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 476: } INTCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 477: extern volatile INTCONbits_t INTCONbits __at(0x00B); +[; ;xc8\pic\include\proc\pic16f877a.h: 532: extern volatile unsigned char PIR1 __at(0x00C); "534 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 534: __asm("PIR1 equ 0Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 534: asm("PIR1 equ 0Ch"); [; <" PIR1 equ 0Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 537: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 538: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 539: unsigned TMR1IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 540: unsigned TMR2IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 541: unsigned CCP1IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 542: unsigned SSPIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 543: unsigned TXIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 544: unsigned RCIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 545: unsigned ADIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 546: unsigned PSPIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 547: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 548: } PIR1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 549: extern volatile PIR1bits_t PIR1bits __at(0x00C); +[; ;xc8\pic\include\proc\pic16f877a.h: 594: extern volatile unsigned char PIR2 __at(0x00D); "596 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 596: __asm("PIR2 equ 0Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 596: asm("PIR2 equ 0Dh"); [; <" PIR2 equ 0Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 599: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 600: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 601: unsigned CCP2IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 602: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 603: unsigned BCLIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 604: unsigned EEIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 605: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 606: unsigned CMIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 607: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 608: } PIR2bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 609: extern volatile PIR2bits_t PIR2bits __at(0x00D); +[; ;xc8\pic\include\proc\pic16f877a.h: 634: extern volatile unsigned short TMR1 __at(0x00E); "636 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 636: __asm("TMR1 equ 0Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 636: asm("TMR1 equ 0Eh"); [; <" TMR1 equ 0Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 641: extern volatile unsigned char TMR1L __at(0x00E); "643 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 643: __asm("TMR1L equ 0Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 643: asm("TMR1L equ 0Eh"); [; <" TMR1L equ 0Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 648: extern volatile unsigned char TMR1H __at(0x00F); "650 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 650: __asm("TMR1H equ 0Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 650: asm("TMR1H equ 0Fh"); [; <" TMR1H equ 0Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 655: extern volatile unsigned char T1CON __at(0x010); "657 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 657: __asm("T1CON equ 010h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 657: asm("T1CON equ 010h"); [; <" T1CON equ 010h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 660: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 661: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 662: unsigned TMR1ON :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 663: unsigned TMR1CS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 664: unsigned nT1SYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 665: unsigned T1OSCEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 666: unsigned T1CKPS :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 667: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 668: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 669: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 670: unsigned T1SYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 671: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 672: unsigned T1CKPS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 673: unsigned T1CKPS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 674: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 675: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 676: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 677: unsigned T1INSYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 678: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 679: } T1CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 680: extern volatile T1CONbits_t T1CONbits __at(0x010); +[; ;xc8\pic\include\proc\pic16f877a.h: 730: extern volatile unsigned char TMR2 __at(0x011); "732 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 732: __asm("TMR2 equ 011h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 732: asm("TMR2 equ 011h"); [; <" TMR2 equ 011h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 737: extern volatile unsigned char T2CON __at(0x012); "739 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 739: __asm("T2CON equ 012h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 739: asm("T2CON equ 012h"); [; <" T2CON equ 012h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 742: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 743: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 744: unsigned T2CKPS :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 745: unsigned TMR2ON :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 746: unsigned TOUTPS :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 747: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 748: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 749: unsigned T2CKPS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 750: unsigned T2CKPS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 751: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 752: unsigned TOUTPS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 753: unsigned TOUTPS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 754: unsigned TOUTPS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 755: unsigned TOUTPS3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 756: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 757: } T2CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 758: extern volatile T2CONbits_t T2CONbits __at(0x012); +[; ;xc8\pic\include\proc\pic16f877a.h: 808: extern volatile unsigned char SSPBUF __at(0x013); "810 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 810: __asm("SSPBUF equ 013h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 810: asm("SSPBUF equ 013h"); [; <" SSPBUF equ 013h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 815: extern volatile unsigned char SSPCON __at(0x014); "817 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 817: __asm("SSPCON equ 014h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 817: asm("SSPCON equ 014h"); [; <" SSPCON equ 014h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 820: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 821: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 822: unsigned SSPM :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 823: unsigned CKP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 824: unsigned SSPEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 825: unsigned SSPOV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 826: unsigned WCOL :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 827: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 828: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 829: unsigned SSPM0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 830: unsigned SSPM1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 831: unsigned SSPM2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 832: unsigned SSPM3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 833: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 834: } SSPCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 835: extern volatile SSPCONbits_t SSPCONbits __at(0x014); +[; ;xc8\pic\include\proc\pic16f877a.h: 885: extern volatile unsigned short CCPR1 __at(0x015); "887 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 887: __asm("CCPR1 equ 015h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 887: asm("CCPR1 equ 015h"); [; <" CCPR1 equ 015h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 892: extern volatile unsigned char CCPR1L __at(0x015); "894 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 894: __asm("CCPR1L equ 015h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 894: asm("CCPR1L equ 015h"); [; <" CCPR1L equ 015h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 899: extern volatile unsigned char CCPR1H __at(0x016); "901 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 901: __asm("CCPR1H equ 016h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 901: asm("CCPR1H equ 016h"); [; <" CCPR1H equ 016h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 906: extern volatile unsigned char CCP1CON __at(0x017); "908 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 908: __asm("CCP1CON equ 017h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 908: asm("CCP1CON equ 017h"); [; <" CCP1CON equ 017h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 911: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 912: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 913: unsigned CCP1M :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 914: unsigned CCP1Y :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 915: unsigned CCP1X :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 916: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 917: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 918: unsigned CCP1M0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 919: unsigned CCP1M1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 920: unsigned CCP1M2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 921: unsigned CCP1M3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 922: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 923: } CCP1CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 924: extern volatile CCP1CONbits_t CCP1CONbits __at(0x017); +[; ;xc8\pic\include\proc\pic16f877a.h: 964: extern volatile unsigned char RCSTA __at(0x018); "966 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 966: __asm("RCSTA equ 018h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 966: asm("RCSTA equ 018h"); [; <" RCSTA equ 018h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 969: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 970: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 971: unsigned RX9D :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 972: unsigned OERR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 973: unsigned FERR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 974: unsigned ADDEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 975: unsigned CREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 976: unsigned SREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 977: unsigned RX9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 978: unsigned SPEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 979: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 980: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 981: unsigned RCD8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 982: unsigned :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 983: unsigned RC9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 984: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 985: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 986: unsigned :6; +[; ;xc8\pic\include\proc\pic16f877a.h: 987: unsigned nRC8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 988: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 989: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 990: unsigned :6; +[; ;xc8\pic\include\proc\pic16f877a.h: 991: unsigned RC8_9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 992: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 993: } RCSTAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 994: extern volatile RCSTAbits_t RCSTAbits __at(0x018); +[; ;xc8\pic\include\proc\pic16f877a.h: 1059: extern volatile unsigned char TXREG __at(0x019); "1061 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1061: __asm("TXREG equ 019h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1061: asm("TXREG equ 019h"); [; <" TXREG equ 019h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1066: extern volatile unsigned char RCREG __at(0x01A); "1068 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1068: __asm("RCREG equ 01Ah"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1068: asm("RCREG equ 01Ah"); [; <" RCREG equ 01Ah ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1073: extern volatile unsigned short CCPR2 __at(0x01B); "1075 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1075: __asm("CCPR2 equ 01Bh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1075: asm("CCPR2 equ 01Bh"); [; <" CCPR2 equ 01Bh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1080: extern volatile unsigned char CCPR2L __at(0x01B); "1082 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1082: __asm("CCPR2L equ 01Bh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1082: asm("CCPR2L equ 01Bh"); [; <" CCPR2L equ 01Bh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1087: extern volatile unsigned char CCPR2H __at(0x01C); "1089 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1089: __asm("CCPR2H equ 01Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1089: asm("CCPR2H equ 01Ch"); [; <" CCPR2H equ 01Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1094: extern volatile unsigned char CCP2CON __at(0x01D); "1096 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1096: __asm("CCP2CON equ 01Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1096: asm("CCP2CON equ 01Dh"); [; <" CCP2CON equ 01Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1099: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1100: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1101: unsigned CCP2M :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 1102: unsigned CCP2Y :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1103: unsigned CCP2X :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1104: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1105: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1106: unsigned CCP2M0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1107: unsigned CCP2M1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1108: unsigned CCP2M2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1109: unsigned CCP2M3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1110: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1111: } CCP2CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1112: extern volatile CCP2CONbits_t CCP2CONbits __at(0x01D); +[; ;xc8\pic\include\proc\pic16f877a.h: 1152: extern volatile unsigned char ADRESH __at(0x01E); "1154 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1154: __asm("ADRESH equ 01Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1154: asm("ADRESH equ 01Eh"); [; <" ADRESH equ 01Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1159: extern volatile unsigned char ADCON0 __at(0x01F); "1161 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1161: __asm("ADCON0 equ 01Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1161: asm("ADCON0 equ 01Fh"); [; <" ADCON0 equ 01Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1164: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1165: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1166: unsigned ADON :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1167: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1168: unsigned GO_nDONE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1169: unsigned CHS :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 1170: unsigned ADCS :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1171: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1172: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1173: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1174: unsigned GO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1175: unsigned CHS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1176: unsigned CHS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1177: unsigned CHS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1178: unsigned ADCS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1179: unsigned ADCS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1180: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1181: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1182: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1183: unsigned nDONE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1184: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1185: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1186: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1187: unsigned GO_DONE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1188: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1189: } ADCON0bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1190: extern volatile ADCON0bits_t ADCON0bits __at(0x01F); +[; ;xc8\pic\include\proc\pic16f877a.h: 1255: extern volatile unsigned char OPTION_REG __at(0x081); "1257 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1257: __asm("OPTION_REG equ 081h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1257: asm("OPTION_REG equ 081h"); [; <" OPTION_REG equ 081h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1260: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1261: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1262: unsigned PS :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 1263: unsigned PSA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1264: unsigned T0SE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1265: unsigned T0CS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1266: unsigned INTEDG :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1267: unsigned nRBPU :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1268: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1269: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1270: unsigned PS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1271: unsigned PS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1272: unsigned PS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1273: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1274: } OPTION_REGbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1275: extern volatile OPTION_REGbits_t OPTION_REGbits __at(0x081); +[; ;xc8\pic\include\proc\pic16f877a.h: 1325: extern volatile unsigned char TRISA __at(0x085); "1327 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1327: __asm("TRISA equ 085h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1327: asm("TRISA equ 085h"); [; <" TRISA equ 085h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1330: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1331: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1332: unsigned TRISA0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1333: unsigned TRISA1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1334: unsigned TRISA2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1335: unsigned TRISA3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1336: unsigned TRISA4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1337: unsigned TRISA5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1338: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1339: } TRISAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1340: extern volatile TRISAbits_t TRISAbits __at(0x085); +[; ;xc8\pic\include\proc\pic16f877a.h: 1375: extern volatile unsigned char TRISB __at(0x086); "1377 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1377: __asm("TRISB equ 086h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1377: asm("TRISB equ 086h"); [; <" TRISB equ 086h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1380: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1381: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1382: unsigned TRISB0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1383: unsigned TRISB1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1384: unsigned TRISB2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1385: unsigned TRISB3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1386: unsigned TRISB4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1387: unsigned TRISB5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1388: unsigned TRISB6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1389: unsigned TRISB7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1390: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1391: } TRISBbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1392: extern volatile TRISBbits_t TRISBbits __at(0x086); +[; ;xc8\pic\include\proc\pic16f877a.h: 1437: extern volatile unsigned char TRISC __at(0x087); "1439 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1439: __asm("TRISC equ 087h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1439: asm("TRISC equ 087h"); [; <" TRISC equ 087h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1442: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1443: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1444: unsigned TRISC0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1445: unsigned TRISC1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1446: unsigned TRISC2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1447: unsigned TRISC3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1448: unsigned TRISC4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1449: unsigned TRISC5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1450: unsigned TRISC6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1451: unsigned TRISC7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1452: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1453: } TRISCbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1454: extern volatile TRISCbits_t TRISCbits __at(0x087); +[; ;xc8\pic\include\proc\pic16f877a.h: 1499: extern volatile unsigned char TRISD __at(0x088); "1501 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1501: __asm("TRISD equ 088h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1501: asm("TRISD equ 088h"); [; <" TRISD equ 088h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1504: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1505: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1506: unsigned TRISD0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1507: unsigned TRISD1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1508: unsigned TRISD2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1509: unsigned TRISD3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1510: unsigned TRISD4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1511: unsigned TRISD5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1512: unsigned TRISD6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1513: unsigned TRISD7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1514: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1515: } TRISDbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1516: extern volatile TRISDbits_t TRISDbits __at(0x088); +[; ;xc8\pic\include\proc\pic16f877a.h: 1561: extern volatile unsigned char TRISE __at(0x089); "1563 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1563: __asm("TRISE equ 089h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1563: asm("TRISE equ 089h"); [; <" TRISE equ 089h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1566: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1567: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1568: unsigned TRISE0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1569: unsigned TRISE1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1570: unsigned TRISE2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1571: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1572: unsigned PSPMODE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1573: unsigned IBOV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1574: unsigned OBF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1575: unsigned IBF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1576: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1577: } TRISEbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1578: extern volatile TRISEbits_t TRISEbits __at(0x089); +[; ;xc8\pic\include\proc\pic16f877a.h: 1618: extern volatile unsigned char PIE1 __at(0x08C); "1620 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1620: __asm("PIE1 equ 08Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1620: asm("PIE1 equ 08Ch"); [; <" PIE1 equ 08Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1623: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1624: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1625: unsigned TMR1IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1626: unsigned TMR2IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1627: unsigned CCP1IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1628: unsigned SSPIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1629: unsigned TXIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1630: unsigned RCIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1631: unsigned ADIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1632: unsigned PSPIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1633: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1634: } PIE1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1635: extern volatile PIE1bits_t PIE1bits __at(0x08C); +[; ;xc8\pic\include\proc\pic16f877a.h: 1680: extern volatile unsigned char PIE2 __at(0x08D); "1682 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1682: __asm("PIE2 equ 08Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1682: asm("PIE2 equ 08Dh"); [; <" PIE2 equ 08Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1685: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1686: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1687: unsigned CCP2IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1688: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1689: unsigned BCLIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1690: unsigned EEIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1691: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1692: unsigned CMIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1693: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1694: } PIE2bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1695: extern volatile PIE2bits_t PIE2bits __at(0x08D); +[; ;xc8\pic\include\proc\pic16f877a.h: 1720: extern volatile unsigned char PCON __at(0x08E); "1722 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1722: __asm("PCON equ 08Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1722: asm("PCON equ 08Eh"); [; <" PCON equ 08Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1725: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1726: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1727: unsigned nBOR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1728: unsigned nPOR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1729: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1730: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1731: unsigned nBO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1732: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1733: } PCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1734: extern volatile PCONbits_t PCONbits __at(0x08E); +[; ;xc8\pic\include\proc\pic16f877a.h: 1754: extern volatile unsigned char SSPCON2 __at(0x091); "1756 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1756: __asm("SSPCON2 equ 091h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1756: asm("SSPCON2 equ 091h"); [; <" SSPCON2 equ 091h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1759: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1760: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1761: unsigned SEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1762: unsigned RSEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1763: unsigned PEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1764: unsigned RCEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1765: unsigned ACKEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1766: unsigned ACKDT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1767: unsigned ACKSTAT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1768: unsigned GCEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1769: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1770: } SSPCON2bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1771: extern volatile SSPCON2bits_t SSPCON2bits __at(0x091); +[; ;xc8\pic\include\proc\pic16f877a.h: 1816: extern volatile unsigned char PR2 __at(0x092); "1818 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1818: __asm("PR2 equ 092h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1818: asm("PR2 equ 092h"); [; <" PR2 equ 092h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1823: extern volatile unsigned char SSPADD __at(0x093); "1825 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1825: __asm("SSPADD equ 093h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1825: asm("SSPADD equ 093h"); [; <" SSPADD equ 093h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1830: extern volatile unsigned char SSPSTAT __at(0x094); "1832 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1832: __asm("SSPSTAT equ 094h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1832: asm("SSPSTAT equ 094h"); [; <" SSPSTAT equ 094h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1835: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1836: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1837: unsigned BF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1838: unsigned UA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1839: unsigned R_nW :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1840: unsigned S :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1841: unsigned P :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1842: unsigned D_nA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1843: unsigned CKE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1844: unsigned SMP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1845: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1846: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1847: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1848: unsigned R :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1849: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1850: unsigned D :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1851: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1852: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1853: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1854: unsigned I2C_READ :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1855: unsigned I2C_START :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1856: unsigned I2C_STOP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1857: unsigned I2C_DATA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1858: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1859: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1860: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1861: unsigned nW :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1862: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1863: unsigned nA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1864: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1865: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1866: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1867: unsigned nWRITE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1868: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1869: unsigned nADDRESS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1870: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1871: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1872: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1873: unsigned R_W :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1874: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1875: unsigned D_A :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1876: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1877: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1878: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1879: unsigned READ_WRITE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1880: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1881: unsigned DATA_ADDRESS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1882: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1883: } SSPSTATbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1884: extern volatile SSPSTATbits_t SSPSTATbits __at(0x094); +[; ;xc8\pic\include\proc\pic16f877a.h: 1999: extern volatile unsigned char TXSTA __at(0x098); "2001 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2001: __asm("TXSTA equ 098h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2001: asm("TXSTA equ 098h"); [; <" TXSTA equ 098h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2004: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2005: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2006: unsigned TX9D :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2007: unsigned TRMT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2008: unsigned BRGH :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2009: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2010: unsigned SYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2011: unsigned TXEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2012: unsigned TX9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2013: unsigned CSRC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2014: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2015: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2016: unsigned TXD8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2017: unsigned :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 2018: unsigned nTX8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2019: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2020: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2021: unsigned :6; +[; ;xc8\pic\include\proc\pic16f877a.h: 2022: unsigned TX8_9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2023: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2024: } TXSTAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2025: extern volatile TXSTAbits_t TXSTAbits __at(0x098); +[; ;xc8\pic\include\proc\pic16f877a.h: 2080: extern volatile unsigned char SPBRG __at(0x099); "2082 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2082: __asm("SPBRG equ 099h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2082: asm("SPBRG equ 099h"); [; <" SPBRG equ 099h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2087: extern volatile unsigned char CMCON __at(0x09C); "2089 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2089: __asm("CMCON equ 09Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2089: asm("CMCON equ 09Ch"); [; <" CMCON equ 09Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2092: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2093: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2094: unsigned CM :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 2095: unsigned CIS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2096: unsigned C1INV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2097: unsigned C2INV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2098: unsigned C1OUT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2099: unsigned C2OUT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2100: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2101: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2102: unsigned CM0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2103: unsigned CM1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2104: unsigned CM2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2105: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2106: } CMCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2107: extern volatile CMCONbits_t CMCONbits __at(0x09C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2157: extern volatile unsigned char CVRCON __at(0x09D); "2159 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2159: __asm("CVRCON equ 09Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2159: asm("CVRCON equ 09Dh"); [; <" CVRCON equ 09Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2162: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2163: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2164: unsigned CVR :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 2165: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2166: unsigned CVRR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2167: unsigned CVROE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2168: unsigned CVREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2169: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2170: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2171: unsigned CVR0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2172: unsigned CVR1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2173: unsigned CVR2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2174: unsigned CVR3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2175: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2176: } CVRCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2177: extern volatile CVRCONbits_t CVRCONbits __at(0x09D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2222: extern volatile unsigned char ADRESL __at(0x09E); "2224 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2224: __asm("ADRESL equ 09Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2224: asm("ADRESL equ 09Eh"); [; <" ADRESL equ 09Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2229: extern volatile unsigned char ADCON1 __at(0x09F); "2231 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2231: __asm("ADCON1 equ 09Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2231: asm("ADCON1 equ 09Fh"); [; <" ADCON1 equ 09Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2234: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2235: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2236: unsigned PCFG :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 2237: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 2238: unsigned ADCS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2239: unsigned ADFM :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2240: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2241: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2242: unsigned PCFG0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2243: unsigned PCFG1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2244: unsigned PCFG2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2245: unsigned PCFG3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2246: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2247: } ADCON1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2248: extern volatile ADCON1bits_t ADCON1bits __at(0x09F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2288: extern volatile unsigned char EEDATA __at(0x10C); "2290 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2290: __asm("EEDATA equ 010Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2290: asm("EEDATA equ 010Ch"); [; <" EEDATA equ 010Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2295: extern volatile unsigned char EEADR __at(0x10D); "2297 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2297: __asm("EEADR equ 010Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2297: asm("EEADR equ 010Dh"); [; <" EEADR equ 010Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2302: extern volatile unsigned char EEDATH __at(0x10E); "2304 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2304: __asm("EEDATH equ 010Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2304: asm("EEDATH equ 010Eh"); [; <" EEDATH equ 010Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2309: extern volatile unsigned char EEADRH __at(0x10F); "2311 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2311: __asm("EEADRH equ 010Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2311: asm("EEADRH equ 010Fh"); [; <" EEADRH equ 010Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2316: extern volatile unsigned char EECON1 __at(0x18C); "2318 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2318: __asm("EECON1 equ 018Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2318: asm("EECON1 equ 018Ch"); [; <" EECON1 equ 018Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2321: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2322: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2323: unsigned RD :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2324: unsigned WR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2325: unsigned WREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2326: unsigned WRERR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2327: unsigned :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 2328: unsigned EEPGD :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2329: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2330: } EECON1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2331: extern volatile EECON1bits_t EECON1bits __at(0x18C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2361: extern volatile unsigned char EECON2 __at(0x18D); "2363 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2363: __asm("EECON2 equ 018Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2363: asm("EECON2 equ 018Dh"); [; <" EECON2 equ 018Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2378: extern volatile __bit ACKDT __at(0x48D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2381: extern volatile __bit ACKEN __at(0x48C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2384: extern volatile __bit ACKSTAT __at(0x48E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2387: extern volatile __bit ADCS0 __at(0xFE); +[; ;xc8\pic\include\proc\pic16f877a.h: 2390: extern volatile __bit ADCS1 __at(0xFF); +[; ;xc8\pic\include\proc\pic16f877a.h: 2393: extern volatile __bit ADCS2 __at(0x4FE); +[; ;xc8\pic\include\proc\pic16f877a.h: 2396: extern volatile __bit ADDEN __at(0xC3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2399: extern volatile __bit ADFM __at(0x4FF); +[; ;xc8\pic\include\proc\pic16f877a.h: 2402: extern volatile __bit ADIE __at(0x466); +[; ;xc8\pic\include\proc\pic16f877a.h: 2405: extern volatile __bit ADIF __at(0x66); +[; ;xc8\pic\include\proc\pic16f877a.h: 2408: extern volatile __bit ADON __at(0xF8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2411: extern volatile __bit BCLIE __at(0x46B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2414: extern volatile __bit BCLIF __at(0x6B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2417: extern volatile __bit BF __at(0x4A0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2420: extern volatile __bit BRGH __at(0x4C2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2423: extern volatile __bit C1INV __at(0x4E4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2426: extern volatile __bit C1OUT __at(0x4E6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2429: extern volatile __bit C2INV __at(0x4E5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2432: extern volatile __bit C2OUT __at(0x4E7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2435: extern volatile __bit CARRY __at(0x18); +[; ;xc8\pic\include\proc\pic16f877a.h: 2438: extern volatile __bit CCP1IE __at(0x462); +[; ;xc8\pic\include\proc\pic16f877a.h: 2441: extern volatile __bit CCP1IF __at(0x62); +[; ;xc8\pic\include\proc\pic16f877a.h: 2444: extern volatile __bit CCP1M0 __at(0xB8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2447: extern volatile __bit CCP1M1 __at(0xB9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2450: extern volatile __bit CCP1M2 __at(0xBA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2453: extern volatile __bit CCP1M3 __at(0xBB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2456: extern volatile __bit CCP1X __at(0xBD); +[; ;xc8\pic\include\proc\pic16f877a.h: 2459: extern volatile __bit CCP1Y __at(0xBC); +[; ;xc8\pic\include\proc\pic16f877a.h: 2462: extern volatile __bit CCP2IE __at(0x468); +[; ;xc8\pic\include\proc\pic16f877a.h: 2465: extern volatile __bit CCP2IF __at(0x68); +[; ;xc8\pic\include\proc\pic16f877a.h: 2468: extern volatile __bit CCP2M0 __at(0xE8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2471: extern volatile __bit CCP2M1 __at(0xE9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2474: extern volatile __bit CCP2M2 __at(0xEA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2477: extern volatile __bit CCP2M3 __at(0xEB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2480: extern volatile __bit CCP2X __at(0xED); +[; ;xc8\pic\include\proc\pic16f877a.h: 2483: extern volatile __bit CCP2Y __at(0xEC); +[; ;xc8\pic\include\proc\pic16f877a.h: 2486: extern volatile __bit CHS0 __at(0xFB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2489: extern volatile __bit CHS1 __at(0xFC); +[; ;xc8\pic\include\proc\pic16f877a.h: 2492: extern volatile __bit CHS2 __at(0xFD); +[; ;xc8\pic\include\proc\pic16f877a.h: 2495: extern volatile __bit CIS __at(0x4E3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2498: extern volatile __bit CKE __at(0x4A6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2501: extern volatile __bit CKP __at(0xA4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2504: extern volatile __bit CM0 __at(0x4E0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2507: extern volatile __bit CM1 __at(0x4E1); +[; ;xc8\pic\include\proc\pic16f877a.h: 2510: extern volatile __bit CM2 __at(0x4E2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2513: extern volatile __bit CMIE __at(0x46E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2516: extern volatile __bit CMIF __at(0x6E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2519: extern volatile __bit CREN __at(0xC4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2522: extern volatile __bit CSRC __at(0x4C7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2525: extern volatile __bit CVR0 __at(0x4E8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2528: extern volatile __bit CVR1 __at(0x4E9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2531: extern volatile __bit CVR2 __at(0x4EA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2534: extern volatile __bit CVR3 __at(0x4EB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2537: extern volatile __bit CVREN __at(0x4EF); +[; ;xc8\pic\include\proc\pic16f877a.h: 2540: extern volatile __bit CVROE __at(0x4EE); +[; ;xc8\pic\include\proc\pic16f877a.h: 2543: extern volatile __bit CVRR __at(0x4ED); +[; ;xc8\pic\include\proc\pic16f877a.h: 2546: extern volatile __bit DATA_ADDRESS __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2549: extern volatile __bit DC __at(0x19); +[; ;xc8\pic\include\proc\pic16f877a.h: 2552: extern volatile __bit D_A __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2555: extern volatile __bit D_nA __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2558: extern volatile __bit EEIE __at(0x46C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2561: extern volatile __bit EEIF __at(0x6C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2564: extern volatile __bit EEPGD __at(0xC67); +[; ;xc8\pic\include\proc\pic16f877a.h: 2567: extern volatile __bit FERR __at(0xC2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2570: extern volatile __bit GCEN __at(0x48F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2573: extern volatile __bit GIE __at(0x5F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2576: extern volatile __bit GO __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2579: extern volatile __bit GO_DONE __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2582: extern volatile __bit GO_nDONE __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2585: extern volatile __bit I2C_DATA __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2588: extern volatile __bit I2C_READ __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2591: extern volatile __bit I2C_START __at(0x4A3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2594: extern volatile __bit I2C_STOP __at(0x4A4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2597: extern volatile __bit IBF __at(0x44F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2600: extern volatile __bit IBOV __at(0x44D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2603: extern volatile __bit INTE __at(0x5C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2606: extern volatile __bit INTEDG __at(0x40E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2609: extern volatile __bit INTF __at(0x59); +[; ;xc8\pic\include\proc\pic16f877a.h: 2612: extern volatile __bit IRP __at(0x1F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2615: extern volatile __bit OBF __at(0x44E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2618: extern volatile __bit OERR __at(0xC1); +[; ;xc8\pic\include\proc\pic16f877a.h: 2621: extern volatile __bit PCFG0 __at(0x4F8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2624: extern volatile __bit PCFG1 __at(0x4F9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2627: extern volatile __bit PCFG2 __at(0x4FA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2630: extern volatile __bit PCFG3 __at(0x4FB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2633: extern volatile __bit PEIE __at(0x5E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2636: extern volatile __bit PEN __at(0x48A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2639: extern volatile __bit PS0 __at(0x408); +[; ;xc8\pic\include\proc\pic16f877a.h: 2642: extern volatile __bit PS1 __at(0x409); +[; ;xc8\pic\include\proc\pic16f877a.h: 2645: extern volatile __bit PS2 __at(0x40A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2648: extern volatile __bit PSA __at(0x40B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2651: extern volatile __bit PSPIE __at(0x467); +[; ;xc8\pic\include\proc\pic16f877a.h: 2654: extern volatile __bit PSPIF __at(0x67); +[; ;xc8\pic\include\proc\pic16f877a.h: 2657: extern volatile __bit PSPMODE __at(0x44C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2660: extern volatile __bit RA0 __at(0x28); +[; ;xc8\pic\include\proc\pic16f877a.h: 2663: extern volatile __bit RA1 __at(0x29); +[; ;xc8\pic\include\proc\pic16f877a.h: 2666: extern volatile __bit RA2 __at(0x2A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2669: extern volatile __bit RA3 __at(0x2B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2672: extern volatile __bit RA4 __at(0x2C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2675: extern volatile __bit RA5 __at(0x2D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2678: extern volatile __bit RB0 __at(0x30); +[; ;xc8\pic\include\proc\pic16f877a.h: 2681: extern volatile __bit RB1 __at(0x31); +[; ;xc8\pic\include\proc\pic16f877a.h: 2684: extern volatile __bit RB2 __at(0x32); +[; ;xc8\pic\include\proc\pic16f877a.h: 2687: extern volatile __bit RB3 __at(0x33); +[; ;xc8\pic\include\proc\pic16f877a.h: 2690: extern volatile __bit RB4 __at(0x34); +[; ;xc8\pic\include\proc\pic16f877a.h: 2693: extern volatile __bit RB5 __at(0x35); +[; ;xc8\pic\include\proc\pic16f877a.h: 2696: extern volatile __bit RB6 __at(0x36); +[; ;xc8\pic\include\proc\pic16f877a.h: 2699: extern volatile __bit RB7 __at(0x37); +[; ;xc8\pic\include\proc\pic16f877a.h: 2702: extern volatile __bit RBIE __at(0x5B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2705: extern volatile __bit RBIF __at(0x58); +[; ;xc8\pic\include\proc\pic16f877a.h: 2708: extern volatile __bit RC0 __at(0x38); +[; ;xc8\pic\include\proc\pic16f877a.h: 2711: extern volatile __bit RC1 __at(0x39); +[; ;xc8\pic\include\proc\pic16f877a.h: 2714: extern volatile __bit RC2 __at(0x3A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2717: extern volatile __bit RC3 __at(0x3B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2720: extern volatile __bit RC4 __at(0x3C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2723: extern volatile __bit RC5 __at(0x3D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2726: extern volatile __bit RC6 __at(0x3E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2729: extern volatile __bit RC7 __at(0x3F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2732: extern volatile __bit RC8_9 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2735: extern volatile __bit RC9 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2738: extern volatile __bit RCD8 __at(0xC0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2741: extern volatile __bit RCEN __at(0x48B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2744: extern volatile __bit RCIE __at(0x465); +[; ;xc8\pic\include\proc\pic16f877a.h: 2747: extern volatile __bit RCIF __at(0x65); +[; ;xc8\pic\include\proc\pic16f877a.h: 2750: extern volatile __bit RD __at(0xC60); +[; ;xc8\pic\include\proc\pic16f877a.h: 2753: extern volatile __bit RD0 __at(0x40); +[; ;xc8\pic\include\proc\pic16f877a.h: 2756: extern volatile __bit RD1 __at(0x41); +[; ;xc8\pic\include\proc\pic16f877a.h: 2759: extern volatile __bit RD2 __at(0x42); +[; ;xc8\pic\include\proc\pic16f877a.h: 2762: extern volatile __bit RD3 __at(0x43); +[; ;xc8\pic\include\proc\pic16f877a.h: 2765: extern volatile __bit RD4 __at(0x44); +[; ;xc8\pic\include\proc\pic16f877a.h: 2768: extern volatile __bit RD5 __at(0x45); +[; ;xc8\pic\include\proc\pic16f877a.h: 2771: extern volatile __bit RD6 __at(0x46); +[; ;xc8\pic\include\proc\pic16f877a.h: 2774: extern volatile __bit RD7 __at(0x47); +[; ;xc8\pic\include\proc\pic16f877a.h: 2777: extern volatile __bit RE0 __at(0x48); +[; ;xc8\pic\include\proc\pic16f877a.h: 2780: extern volatile __bit RE1 __at(0x49); +[; ;xc8\pic\include\proc\pic16f877a.h: 2783: extern volatile __bit RE2 __at(0x4A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2786: extern volatile __bit READ_WRITE __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2789: extern volatile __bit RP0 __at(0x1D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2792: extern volatile __bit RP1 __at(0x1E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2795: extern volatile __bit RSEN __at(0x489); +[; ;xc8\pic\include\proc\pic16f877a.h: 2798: extern volatile __bit RX9 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2801: extern volatile __bit RX9D __at(0xC0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2804: extern volatile __bit R_W __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2807: extern volatile __bit R_nW __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2810: extern volatile __bit SEN __at(0x488); +[; ;xc8\pic\include\proc\pic16f877a.h: 2813: extern volatile __bit SMP __at(0x4A7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2816: extern volatile __bit SPEN __at(0xC7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2819: extern volatile __bit SREN __at(0xC5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2822: extern volatile __bit SSPEN __at(0xA5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2825: extern volatile __bit SSPIE __at(0x463); +[; ;xc8\pic\include\proc\pic16f877a.h: 2828: extern volatile __bit SSPIF __at(0x63); +[; ;xc8\pic\include\proc\pic16f877a.h: 2831: extern volatile __bit SSPM0 __at(0xA0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2834: extern volatile __bit SSPM1 __at(0xA1); +[; ;xc8\pic\include\proc\pic16f877a.h: 2837: extern volatile __bit SSPM2 __at(0xA2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2840: extern volatile __bit SSPM3 __at(0xA3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2843: extern volatile __bit SSPOV __at(0xA6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2846: extern volatile __bit SYNC __at(0x4C4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2849: extern volatile __bit T0CS __at(0x40D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2852: extern volatile __bit T0IE __at(0x5D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2855: extern volatile __bit T0IF __at(0x5A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2858: extern volatile __bit T0SE __at(0x40C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2861: extern volatile __bit T1CKPS0 __at(0x84); +[; ;xc8\pic\include\proc\pic16f877a.h: 2864: extern volatile __bit T1CKPS1 __at(0x85); +[; ;xc8\pic\include\proc\pic16f877a.h: 2867: extern volatile __bit T1INSYNC __at(0x82); +[; ;xc8\pic\include\proc\pic16f877a.h: 2870: extern volatile __bit T1OSCEN __at(0x83); +[; ;xc8\pic\include\proc\pic16f877a.h: 2873: extern volatile __bit T1SYNC __at(0x82); +[; ;xc8\pic\include\proc\pic16f877a.h: 2876: extern volatile __bit T2CKPS0 __at(0x90); +[; ;xc8\pic\include\proc\pic16f877a.h: 2879: extern volatile __bit T2CKPS1 __at(0x91); +[; ;xc8\pic\include\proc\pic16f877a.h: 2882: extern volatile __bit TMR0IE __at(0x5D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2885: extern volatile __bit TMR0IF __at(0x5A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2888: extern volatile __bit TMR1CS __at(0x81); +[; ;xc8\pic\include\proc\pic16f877a.h: 2891: extern volatile __bit TMR1IE __at(0x460); +[; ;xc8\pic\include\proc\pic16f877a.h: 2894: extern volatile __bit TMR1IF __at(0x60); +[; ;xc8\pic\include\proc\pic16f877a.h: 2897: extern volatile __bit TMR1ON __at(0x80); +[; ;xc8\pic\include\proc\pic16f877a.h: 2900: extern volatile __bit TMR2IE __at(0x461); +[; ;xc8\pic\include\proc\pic16f877a.h: 2903: extern volatile __bit TMR2IF __at(0x61); +[; ;xc8\pic\include\proc\pic16f877a.h: 2906: extern volatile __bit TMR2ON __at(0x92); +[; ;xc8\pic\include\proc\pic16f877a.h: 2909: extern volatile __bit TOUTPS0 __at(0x93); +[; ;xc8\pic\include\proc\pic16f877a.h: 2912: extern volatile __bit TOUTPS1 __at(0x94); +[; ;xc8\pic\include\proc\pic16f877a.h: 2915: extern volatile __bit TOUTPS2 __at(0x95); +[; ;xc8\pic\include\proc\pic16f877a.h: 2918: extern volatile __bit TOUTPS3 __at(0x96); +[; ;xc8\pic\include\proc\pic16f877a.h: 2921: extern volatile __bit TRISA0 __at(0x428); +[; ;xc8\pic\include\proc\pic16f877a.h: 2924: extern volatile __bit TRISA1 __at(0x429); +[; ;xc8\pic\include\proc\pic16f877a.h: 2927: extern volatile __bit TRISA2 __at(0x42A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2930: extern volatile __bit TRISA3 __at(0x42B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2933: extern volatile __bit TRISA4 __at(0x42C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2936: extern volatile __bit TRISA5 __at(0x42D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2939: extern volatile __bit TRISB0 __at(0x430); +[; ;xc8\pic\include\proc\pic16f877a.h: 2942: extern volatile __bit TRISB1 __at(0x431); +[; ;xc8\pic\include\proc\pic16f877a.h: 2945: extern volatile __bit TRISB2 __at(0x432); +[; ;xc8\pic\include\proc\pic16f877a.h: 2948: extern volatile __bit TRISB3 __at(0x433); +[; ;xc8\pic\include\proc\pic16f877a.h: 2951: extern volatile __bit TRISB4 __at(0x434); +[; ;xc8\pic\include\proc\pic16f877a.h: 2954: extern volatile __bit TRISB5 __at(0x435); +[; ;xc8\pic\include\proc\pic16f877a.h: 2957: extern volatile __bit TRISB6 __at(0x436); +[; ;xc8\pic\include\proc\pic16f877a.h: 2960: extern volatile __bit TRISB7 __at(0x437); +[; ;xc8\pic\include\proc\pic16f877a.h: 2963: extern volatile __bit TRISC0 __at(0x438); +[; ;xc8\pic\include\proc\pic16f877a.h: 2966: extern volatile __bit TRISC1 __at(0x439); +[; ;xc8\pic\include\proc\pic16f877a.h: 2969: extern volatile __bit TRISC2 __at(0x43A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2972: extern volatile __bit TRISC3 __at(0x43B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2975: extern volatile __bit TRISC4 __at(0x43C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2978: extern volatile __bit TRISC5 __at(0x43D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2981: extern volatile __bit TRISC6 __at(0x43E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2984: extern volatile __bit TRISC7 __at(0x43F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2987: extern volatile __bit TRISD0 __at(0x440); +[; ;xc8\pic\include\proc\pic16f877a.h: 2990: extern volatile __bit TRISD1 __at(0x441); +[; ;xc8\pic\include\proc\pic16f877a.h: 2993: extern volatile __bit TRISD2 __at(0x442); +[; ;xc8\pic\include\proc\pic16f877a.h: 2996: extern volatile __bit TRISD3 __at(0x443); +[; ;xc8\pic\include\proc\pic16f877a.h: 2999: extern volatile __bit TRISD4 __at(0x444); +[; ;xc8\pic\include\proc\pic16f877a.h: 3002: extern volatile __bit TRISD5 __at(0x445); +[; ;xc8\pic\include\proc\pic16f877a.h: 3005: extern volatile __bit TRISD6 __at(0x446); +[; ;xc8\pic\include\proc\pic16f877a.h: 3008: extern volatile __bit TRISD7 __at(0x447); +[; ;xc8\pic\include\proc\pic16f877a.h: 3011: extern volatile __bit TRISE0 __at(0x448); +[; ;xc8\pic\include\proc\pic16f877a.h: 3014: extern volatile __bit TRISE1 __at(0x449); +[; ;xc8\pic\include\proc\pic16f877a.h: 3017: extern volatile __bit TRISE2 __at(0x44A); +[; ;xc8\pic\include\proc\pic16f877a.h: 3020: extern volatile __bit TRMT __at(0x4C1); +[; ;xc8\pic\include\proc\pic16f877a.h: 3023: extern volatile __bit TX8_9 __at(0x4C6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3026: extern volatile __bit TX9 __at(0x4C6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3029: extern volatile __bit TX9D __at(0x4C0); +[; ;xc8\pic\include\proc\pic16f877a.h: 3032: extern volatile __bit TXD8 __at(0x4C0); +[; ;xc8\pic\include\proc\pic16f877a.h: 3035: extern volatile __bit TXEN __at(0x4C5); +[; ;xc8\pic\include\proc\pic16f877a.h: 3038: extern volatile __bit TXIE __at(0x464); +[; ;xc8\pic\include\proc\pic16f877a.h: 3041: extern volatile __bit TXIF __at(0x64); +[; ;xc8\pic\include\proc\pic16f877a.h: 3044: extern volatile __bit UA __at(0x4A1); +[; ;xc8\pic\include\proc\pic16f877a.h: 3047: extern volatile __bit WCOL __at(0xA7); +[; ;xc8\pic\include\proc\pic16f877a.h: 3050: extern volatile __bit WR __at(0xC61); +[; ;xc8\pic\include\proc\pic16f877a.h: 3053: extern volatile __bit WREN __at(0xC62); +[; ;xc8\pic\include\proc\pic16f877a.h: 3056: extern volatile __bit WRERR __at(0xC63); +[; ;xc8\pic\include\proc\pic16f877a.h: 3059: extern volatile __bit ZERO __at(0x1A); +[; ;xc8\pic\include\proc\pic16f877a.h: 3062: extern volatile __bit nA __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 3065: extern volatile __bit nADDRESS __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 3068: extern volatile __bit nBO __at(0x470); +[; ;xc8\pic\include\proc\pic16f877a.h: 3071: extern volatile __bit nBOR __at(0x470); +[; ;xc8\pic\include\proc\pic16f877a.h: 3074: extern volatile __bit nDONE __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 3077: extern volatile __bit nPD __at(0x1B); +[; ;xc8\pic\include\proc\pic16f877a.h: 3080: extern volatile __bit nPOR __at(0x471); +[; ;xc8\pic\include\proc\pic16f877a.h: 3083: extern volatile __bit nRBPU __at(0x40F); +[; ;xc8\pic\include\proc\pic16f877a.h: 3086: extern volatile __bit nRC8 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3089: extern volatile __bit nT1SYNC __at(0x82); +[; ;xc8\pic\include\proc\pic16f877a.h: 3092: extern volatile __bit nTO __at(0x1C); +[; ;xc8\pic\include\proc\pic16f877a.h: 3095: extern volatile __bit nTX8 __at(0x4C6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3098: extern volatile __bit nW __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 3101: extern volatile __bit nWRITE __at(0x4A2); +[; ;xc8\pic\include\pic.h: 76: __attribute__((__unsupported__("The " "FLASH_READ" " macro function is no longer supported. Please use the MPLAB X MCC."))) unsigned char __flash_read(unsigned short addr); +[; ;xc8\pic\include\pic.h: 78: __attribute__((__unsupported__("The " "FLASH_WRITE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_write(unsigned short addr, unsigned short data); +[; ;xc8\pic\include\pic.h: 80: __attribute__((__unsupported__("The " "FLASH_ERASE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_erase(unsigned short addr); +[; ;eeprom_routines.h: 114: extern void eeprom_write(unsigned char addr, unsigned char value); +[; ;eeprom_routines.h: 115: extern unsigned char eeprom_read(unsigned char addr); +[; ;xc8\pic\include\pic.h: 118: extern __bank0 unsigned char __resetbits; +[; ;xc8\pic\include\pic.h: 119: extern __bank0 __bit __powerdown; +[; ;xc8\pic\include\pic.h: 120: extern __bank0 __bit __timeout; "5 main.c -[; ;main.c: 5: -[p x FOSC = HS ] +[p x FOSC=HS ] "6 -[; ;main.c: 6: void main(void) { -[p x WDTE = OFF ] +[p x WDTE=OFF ] "7 -[; ;main.c: 7: INTCONbits.GIE = 1; -[p x PWRTE = OFF ] +[p x PWRTE=OFF ] "8 -[; ;main.c: 8: INTCONbits.PEIE = 1; -[p x BOREN = OFF ] +[p x BOREN=OFF ] "9 -[; ;main.c: 9: -[p x LVP = ON ] +[p x LVP=ON ] "10 -[; ;main.c: 10: -[p x CPD = OFF ] +[p x CPD=OFF ] "11 -[; ;main.c: 11: INTCONbits.TMR0IE = 1; -[p x WRT = OFF ] +[p x WRT=OFF ] "12 -[; ;main.c: 12: OPTION_REG = 0x07; -[p x CP = OFF ] +[p x CP=OFF ] "14 -[; ;main.c: 14: [v _timer0Counter `uc ~T0 @X0 1 e ] [i _timer0Counter -> -> 0 `i `uc ] +[; ;main.c: 14: unsigned char timer0Counter = 0; "15 -[; ;main.c: 15: [v _timer1Counter `uc ~T0 @X0 1 e ] [i _timer1Counter -> -> 0 `i `uc ] +[; ;main.c: 15: unsigned char timer1Counter = 0; "16 -[; ;main.c: 16: PIE1bits.TMR1IE = 1; [v _timer2Counter `uc ~T0 @X0 1 e ] [i _timer2Counter -> -> 0 `i `uc ] +[; ;main.c: 16: unsigned char timer2Counter = 0; +[; ;main.c: 18: void interrupt timersISR(void); [v $root$_main `(v ~T0 @X0 0 e ] "20 -[; ;main.c: 20: T1CONbits.TMR1CS = 0; [v _main `(v ~T0 @X0 1 ef ] { +[; ;main.c: 20: void main(void) { [e :U _main ] [f ] +[; ;main.c: 21: INTCONbits.GIE = 1; "21 -[; ;main.c: 21: TMR1H = 0x3D; [e = . . _INTCONbits 0 7 -> -> 1 `i `uc ] +[; ;main.c: 22: INTCONbits.PEIE = 1; "22 -[; ;main.c: 22: TMR1L = 0x0A; [e = . . _INTCONbits 0 6 -> -> 1 `i `uc ] +[; ;main.c: 25: INTCONbits.TMR0IE = 1; "25 -[; ;main.c: 25: PIE1bits.TMR2IE = 1; [e = . . _INTCONbits 0 5 -> -> 1 `i `uc ] +[; ;main.c: 26: OPTION_REG = 0x07; "26 -[; ;main.c: 26: T2CONbits.TMR2ON = 1; [e = _OPTION_REG -> -> 7 `i `uc ] +[; ;main.c: 27: TMR0 = 59; "27 -[; ;main.c: 27: T2CONbits.TOUTPS0 = 1; [e = _TMR0 -> -> 59 `i `uc ] +[; ;main.c: 30: PIE1bits.TMR1IE = 1; "30 -[; ;main.c: 30: T2CONbits.TOUTPS3 = 1; [e = . . _PIE1bits 0 0 -> -> 1 `i `uc ] +[; ;main.c: 31: T1CONbits.TMR1ON = 1; "31 -[; ;main.c: 31: T2CONbits.T2CKPS1 = 1; [e = . . _T1CONbits 0 0 -> -> 1 `i `uc ] +[; ;main.c: 32: T1CONbits.T1CKPS0 = 1; "32 -[; ;main.c: 32: PR2 = 252; [e = . . _T1CONbits 1 3 -> -> 1 `i `uc ] +[; ;main.c: 33: T1CONbits.T1CKPS1 = 1; "33 -[; ;main.c: 33: [e = . . _T1CONbits 1 4 -> -> 1 `i `uc ] +[; ;main.c: 34: T1CONbits.TMR1CS = 0; "34 -[; ;main.c: 34: TRISCbits.TRISC0 = 0; [e = . . _T1CONbits 0 1 -> -> 0 `i `uc ] +[; ;main.c: 35: TMR1H = 0x3D; "35 -[; ;main.c: 35: TRISCbits.TRISC1 = 0; [e = _TMR1H -> -> 61 `i `uc ] +[; ;main.c: 36: TMR1L = 0x0A; "36 -[; ;main.c: 36: TRISCbits.TRISC2 = 0; [e = _TMR1L -> -> 10 `i `uc ] +[; ;main.c: 39: PIE1bits.TMR2IE = 1; "39 -[; ;main.c: 39: PORTCbits.RC2 = 0; [e = . . _PIE1bits 0 1 -> -> 1 `i `uc ] +[; ;main.c: 40: T2CONbits.TMR2ON = 1; "40 -[; ;main.c: 40: [e = . . _T2CONbits 0 1 -> -> 1 `i `uc ] +[; ;main.c: 41: T2CONbits.TOUTPS0 = 1; "41 -[; ;main.c: 41: while (1) { [e = . . _T2CONbits 1 3 -> -> 1 `i `uc ] +[; ;main.c: 42: T2CONbits.TOUTPS1 = 1; "42 -[; ;main.c: 42: if (timer0Counter == 100) { [e = . . _T2CONbits 1 4 -> -> 1 `i `uc ] +[; ;main.c: 43: T2CONbits.TOUTPS2 = 1; "43 -[; ;main.c: 43: PORTCbits.RC0 = ~PORTCbits.RC0; [e = . . _T2CONbits 1 5 -> -> 1 `i `uc ] +[; ;main.c: 44: T2CONbits.TOUTPS3 = 1; "44 -[; ;main.c: 44: timer0Counter = 0; [e = . . _T2CONbits 1 6 -> -> 1 `i `uc ] +[; ;main.c: 45: T2CONbits.T2CKPS1 = 1; "45 -[; ;main.c: 45: } [e = . . _T2CONbits 1 1 -> -> 1 `i `uc ] +[; ;main.c: 46: PR2 = 252; "46 -[; ;main.c: 46: [e = _PR2 -> -> 252 `i `uc ] +[; ;main.c: 48: TRISCbits.TRISC0 = 0; "48 -[; ;main.c: 48: PORTCbits.RC1 = ~PORTCbits.RC1; [e = . . _TRISCbits 0 0 -> -> 0 `i `uc ] +[; ;main.c: 49: TRISCbits.TRISC1 = 0; "49 -[; ;main.c: 49: timer1Counter = 0; [e = . . _TRISCbits 0 1 -> -> 0 `i `uc ] +[; ;main.c: 50: TRISCbits.TRISC2 = 0; "50 -[; ;main.c: 50: } [e = . . _TRISCbits 0 2 -> -> 0 `i `uc ] +[; ;main.c: 51: PORTCbits.RC0 = 0; "51 -[; ;main.c: 51: [e = . . _PORTCbits 0 0 -> -> 0 `i `uc ] +[; ;main.c: 52: PORTCbits.RC1 = 0; "52 -[; ;main.c: 52: if (timer2Counter == 100) { [e = . . _PORTCbits 0 1 -> -> 0 `i `uc ] +[; ;main.c: 53: PORTCbits.RC2 = 0; "53 -[; ;main.c: 53: PORTCbits.RC2 = ~PORTCbits.RC2; [e = . . _PORTCbits 0 2 -> -> 0 `i `uc ] +[; ;main.c: 55: while (1) { "55 -[; ;main.c: 55: } -[e :U 101 ] +[e :U 97 ] { +[; ;main.c: 56: if (timer0Counter == 100) { "56 -[; ;main.c: 56: } -[e $ ! == -> _timer0Counter `i -> 100 `i 103 ] +[e $ ! == -> _timer0Counter `i -> 100 `i 99 ] { +[; ;main.c: 57: PORTCbits.RC0 = ~PORTCbits.RC0; "57 -[; ;main.c: 57: [e = . . _PORTCbits 0 0 -> ~ -> . . _PORTCbits 0 0 `i `uc ] +[; ;main.c: 58: timer0Counter = 0; "58 -[; ;main.c: 58: return; [e = _timer0Counter -> -> 0 `i `uc ] "59 -[; ;main.c: 59: } } -[e :U 103 ] +[e :U 99 ] +[; ;main.c: 59: } +[; ;main.c: 61: if (timer1Counter == 10) { "61 -[; ;main.c: 61: void __attribute__((picinterrupt(("")))) timersISR(void) { -[e $ ! == -> _timer1Counter `i -> 10 `i 104 ] +[e $ ! == -> _timer1Counter `i -> 10 `i 100 ] { +[; ;main.c: 62: PORTCbits.RC1 = ~PORTCbits.RC1; "62 -[; ;main.c: 62: [e = . . _PORTCbits 0 1 -> ~ -> . . _PORTCbits 0 1 `i `uc ] +[; ;main.c: 63: timer1Counter = 0; "63 -[; ;main.c: 63: if (INTCONbits.TMR0IF == 1) { [e = _timer1Counter -> -> 0 `i `uc ] "64 -[; ;main.c: 64: ++timer0Counter; } -[e :U 104 ] +[e :U 100 ] +[; ;main.c: 64: } +[; ;main.c: 66: if (timer2Counter == 100) { "66 -[; ;main.c: 66: TMR0 = 59; -[e $ ! == -> _timer2Counter `i -> 100 `i 105 ] +[e $ ! == -> _timer2Counter `i -> 100 `i 101 ] { +[; ;main.c: 67: PORTCbits.RC2 = ~PORTCbits.RC2; "67 -[; ;main.c: 67: } [e = . . _PORTCbits 0 2 -> ~ -> . . _PORTCbits 0 2 `i `uc ] +[; ;main.c: 68: timer2Counter = 0; "68 -[; ;main.c: 68: [e = _timer2Counter -> -> 0 `i `uc ] "69 -[; ;main.c: 69: } -[e :U 105 ] +[e :U 101 ] "70 -[; ;main.c: 70: if (PIR1bits.TMR1IF == 1) { } -[e :U 100 ] -[e $U 101 ] -[e :U 102 ] +[e :U 96 ] +"55 +[e $U 97 ] +[e :U 98 ] +[; ;main.c: 69: } +[; ;main.c: 70: } +[; ;main.c: 72: return; "72 -[; ;main.c: 72: PIR1bits.TMR1IF = 0; -[e $UE 99 ] +[e $UE 95 ] +[; ;main.c: 73: } "73 -[; ;main.c: 73: TMR1H = 0x3D; -[e :UE 99 ] +[e :UE 95 ] } [v $root$_timersISR `(v ~T0 @X0 0 e ] +[v F884 `(v ~T0 @X0 1 tf ] "75 -[; ;main.c: 75: } -[v _timersISR `(v ~T2 @X0 1 ef ] +[v _timersISR `IF884 ~T0 @X0 1 e ] { +[; ;main.c: 75: void interrupt timersISR(void) { [e :U _timersISR ] [f ] +[; ;main.c: 77: if (INTCONbits.TMR0IF == 1) { "77 -[; ;main.c: 77: -[e $ ! == -> . . _INTCONbits 0 2 `i -> 1 `i 107 ] +[e $ ! == -> . . _INTCONbits 0 2 `i -> 1 `i 103 ] { +[; ;main.c: 78: ++timer0Counter; "78 -[; ;main.c: 78: if (PIR1bits.TMR2IF == 1) { [e =+ _timer0Counter -> -> 1 `i `uc ] +[; ;main.c: 79: INTCONbits.TMR0IF = 0; "79 -[; ;main.c: 79: ++timer2Counter; [e = . . _INTCONbits 0 2 -> -> 0 `i `uc ] +[; ;main.c: 80: TMR0 = 59; "80 -[; ;main.c: 80: PIR1bits.TMR2IF = 0; [e = _TMR0 -> -> 59 `i `uc ] "81 -[; ;main.c: 81: PR2 = 252; } -[e :U 107 ] +[e :U 103 ] +[; ;main.c: 81: } +[; ;main.c: 84: if (PIR1bits.TMR1IF == 1) { "84 -[e $ ! == -> . . _PIR1bits 0 0 `i -> 1 `i 108 ] +[e $ ! == -> . . _PIR1bits 0 0 `i -> 1 `i 104 ] { +[; ;main.c: 85: ++timer1Counter; "85 [e =+ _timer1Counter -> -> 1 `i `uc ] +[; ;main.c: 86: PIR1bits.TMR1IF = 0; "86 [e = . . _PIR1bits 0 0 -> -> 0 `i `uc ] +[; ;main.c: 87: TMR1H = 0x3D; "87 [e = _TMR1H -> -> 61 `i `uc ] +[; ;main.c: 88: TMR1L = 0x0A; "88 [e = _TMR1L -> -> 10 `i `uc ] "89 } -[e :U 108 ] +[e :U 104 ] +[; ;main.c: 89: } +[; ;main.c: 92: if (PIR1bits.TMR2IF == 1) { "92 -[e $ ! == -> . . _PIR1bits 0 1 `i -> 1 `i 109 ] +[e $ ! == -> . . _PIR1bits 0 1 `i -> 1 `i 105 ] { +[; ;main.c: 93: ++timer2Counter; "93 [e =+ _timer2Counter -> -> 1 `i `uc ] +[; ;main.c: 94: PIR1bits.TMR2IF = 0; "94 [e = . . _PIR1bits 0 1 -> -> 0 `i `uc ] +[; ;main.c: 95: PR2 = 252; "95 [e = _PR2 -> -> 252 `i `uc ] "96 } -[e :U 109 ] +[e :U 105 ] +[; ;main.c: 96: } +[; ;main.c: 97: } "97 -[e :UE 106 ] +[e :UE 102 ] } diff --git a/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1.d b/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1.d index b27dd1d..e677b57 100644 --- a/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1.d +++ b/MPLABX Projects/TimerInterrupt.X/build/default/production/main.p1.d @@ -1,2 +1,11 @@ -build/default/production/main.p1: \ -main.c + build/default/production/main.d \ + build/default/production/main.p1: \ + main.c \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/language_support.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/pic.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/pic_chip_select.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/proc/pic16f877a.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/xc.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/htc.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/__at.h \ +C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/builtins.h \ No newline at end of file diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.cmf b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.cmf index 648659d..157f38d 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.cmf +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.cmf @@ -19,7 +19,7 @@ cstackCOMMON COMMON 1 73 73 3 1 1 intentry CODE 0 4 4 A 2 1 bssCOMMON COMMON 1 70 70 3 1 1 config CONFIG 4 2007 2007 1 2 1 -$C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +$C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o reset_vec CODE 0 0 0 3 2 1 end_init CODE 0 E E 3 2 1 config CONFIG 4 2007 2007 1 2 1 @@ -68,14 +68,14 @@ STRING BF-1FFF 2 # All other numeric values are in decimal. %LINETAB $dist/default/production\TimerInterrupt.X.production.o -11 cinit CODE >378:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -11 cinit CODE >381:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -11 cinit CODE >398:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -12 cinit CODE >399:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -13 cinit CODE >400:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -14 cinit CODE >406:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -14 cinit CODE >408:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s -15 cinit CODE >409:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s +11 cinit CODE >378:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +11 cinit CODE >381:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +11 cinit CODE >398:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +12 cinit CODE >399:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +13 cinit CODE >400:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +14 cinit CODE >406:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +14 cinit CODE >408:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s +15 cinit CODE >409:C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s 4 intentry CODE >75:C:\Users\Choaib ELMADI\Downloads\D.I.F.Y\C - CPP Programming\PIC16F877A\MPLABX Projects\TimerInterrupt.X\main.c 8D text1 CODE >75:C:\Users\Choaib ELMADI\Downloads\D.I.F.Y\C - CPP Programming\PIC16F877A\MPLABX Projects\TimerInterrupt.X\main.c 8D text1 CODE >77:C:\Users\Choaib ELMADI\Downloads\D.I.F.Y\C - CPP Programming\PIC16F877A\MPLABX Projects\TimerInterrupt.X\main.c @@ -154,33 +154,33 @@ _T1CONbits 10 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o __L__absolute__ 0 0 ABS 0 __absolute__ - __Hstrings 0 0 ABS 0 strings - _TMR0 1 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o -___sp 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +___sp 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o _main 30 0 CODE 0 maintext dist/default/production\TimerInterrupt.X.production.o btemp 7E 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o -___stack_hi 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -___stack_lo 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -start 1C 0 CODE 0 init C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +___stack_hi 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +___stack_lo 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +start 1C 0 CODE 0 init C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o __end_of_timersISR 17E 0 CODE 0 text1 dist/default/production\TimerInterrupt.X.production.o __HbssCOMMON 0 0 ABS 0 bssCOMMON - __Hpowerup 0 0 CODE 0 powerup - _timersISR 11A 0 CODE 0 text1 dist/default/production\TimerInterrupt.X.production.o -intlevel0 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -intlevel1 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -intlevel2 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -intlevel3 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -intlevel4 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -intlevel5 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +intlevel0 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +intlevel1 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +intlevel2 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +intlevel3 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +intlevel4 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +intlevel5 0 0 ENTRY 0 functab C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o __LbssCOMMON 0 0 ABS 0 bssCOMMON - wtemp0 7E 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o __Hfunctab 0 0 ENTRY 0 functab - __Hclrtext 0 0 ABS 0 clrtext - __Lmaintext 0 0 ABS 0 maintext - _OPTION_REG 81 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o -___stackhi 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -___stacklo 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +___stackhi 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +___stacklo 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o start_initialization 22 0 CODE 0 cinit dist/default/production\TimerInterrupt.X.production.o _TRISCbits 87 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o -___int_sp 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +___int_sp 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o __Hbank0 0 0 ABS 0 bank0 - __Hbank1 0 0 ABS 0 bank1 - __Hbank2 0 0 ABS 0 bank2 - @@ -223,7 +223,7 @@ __S1 76 0 ABS 0 - - __S3 0 0 ABS 0 - - saved_w 7E 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o __Lintentry 8 0 CODE 0 intentry - -reset_vec 0 0 CODE 0 reset_vec C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +reset_vec 0 0 CODE 0 reset_vec C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o _PIE1bits 8C 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o __pmaintext 30 0 CODE 0 maintext dist/default/production\TimerInterrupt.X.production.o __Lcommon 0 0 ABS 0 common - @@ -249,8 +249,8 @@ __Leeprom_data 0 0 EEDATA 3 eeprom_data - __H__absolute__ 0 0 ABS 0 __absolute__ - __Lreset_vec 0 0 CODE 0 reset_vec - _timer0Counter 72 0 COMMON 1 bssCOMMON dist/default/production\TimerInterrupt.X.production.o -___heap_hi 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -___heap_lo 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +___heap_hi 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +___heap_lo 0 0 ABS 0 - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o __end_of__initialization 28 0 CODE 0 cinit dist/default/production\TimerInterrupt.X.production.o __Lfunctab 0 0 ENTRY 0 functab - __Lclrtext 0 0 ABS 0 clrtext - @@ -265,8 +265,8 @@ interrupt_function 8 0 CODE 0 intentry dist/default/production\TimerInterrupt.X. __pintentry 8 0 CODE 0 intentry dist/default/production\TimerInterrupt.X.production.o __initialization 22 0 CODE 0 cinit dist/default/production\TimerInterrupt.X.production.o _T2CONbits 12 0 ABS 0 - dist/default/production\TimerInterrupt.X.production.o -___int_stack_hi 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o -___int_stack_lo 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +___int_stack_hi 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o +___int_stack_lo 0 0 STACK 2 stack C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o # %SPLITSTAB Section # This section enumerates all the psect splits performed by the assembler. # The beginning of the section is indicated by %SPLITSTAB. diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.elf b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.elf index f749408..80c56c9 100644 Binary files a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.elf and b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.elf differ diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.hxl b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.hxl index 8f18527..60968cb 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.hxl +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.hxl @@ -1,16 +1,16 @@ ### HEXMate logfile and output summary ### ### Command-line arguments ### - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_3.o + C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_3.o -Odist/default/production\TimerInterrupt.X.production.hex -logfile=dist/default/production\TimerInterrupt.X.production.hxl -addressing=2 ### Memory Usage ### Input file ranges: - 0h - 5h (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_3.o) - 8h - 17Dh (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_3.o) - 400Eh - 400Fh (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_3.o) + 0h - 5h (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_3.o) + 8h - 17Dh (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_3.o) + 400Eh - 400Fh (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_3.o) Unused ranges: 6h - 7h 17Eh - 400Dh @@ -18,7 +18,7 @@ ### Hex Memory Map ### Legend: -- = Unused memory - H1 = Input file (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_3.o) + H1 = Input file (C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_3.o) ---------------------------------------------------------- | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ---------------------------------------------------------- diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.lst b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.lst index 7ff7065..14e8adc 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.lst +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.lst @@ -1,7 +1,7 @@ Microchip MPLAB XC8 Assembler V2.45 build 20230818022343 - Sat May 18 21:58:25 2024 + Mon May 20 18:01:10 2024 Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1 1 processor 16F877A @@ -269,142 +269,142 @@ Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1 255 0018 _main: 256 ;psect for function _main 257 - 258 0018 l593: + 258 0018 l641: 259 ;incstack = 0 260 ; Regs used in _main: [wreg+status,2+status,0] 261 262 - 263 ;main.c: 21: TMR1H = 0x3D; + 263 ;main.c: 21: INTCONbits.GIE = 1; 264 0018 178B bsf 11,7 ;volatile 265 - 266 ;main.c: 22: TMR1L = 0x0A; + 266 ;main.c: 22: INTCONbits.PEIE = 1; 267 0019 170B bsf 11,6 ;volatile 268 - 269 ;main.c: 25: PIE1bits.TMR2IE = 1; + 269 ;main.c: 25: INTCONbits.TMR0IE = 1; 270 001A 168B bsf 11,5 ;volatile - 271 001B l595: + 271 001B l643: 272 - 273 ;main.c: 26: T2CONbits.TMR2ON = 1; + 273 ;main.c: 26: OPTION_REG = 0x07; 274 001B 3007 movlw 7 275 001C 1683 bsf 3,5 ;RP0=1, select bank1 276 001D 1303 bcf 3,6 ;RP1=0, select bank1 277 001E 0081 movwf 1 ;volatile 278 - 279 ;main.c: 27: T2CONbits.TOUTPS0 = 1; + 279 ;main.c: 27: TMR0 = 59; 280 001F 303B movlw 59 281 0020 1283 bcf 3,5 ;RP0=0, select bank0 282 0021 1303 bcf 3,6 ;RP1=0, select bank0 283 0022 0081 movwf 1 ;volatile - 284 0023 l597: + 284 0023 l645: 285 - 286 ;main.c: 30: T2CONbits.TOUTPS3 = 1; + 286 ;main.c: 30: PIE1bits.TMR1IE = 1; 287 0023 1683 bsf 3,5 ;RP0=1, select bank1 288 0024 1303 bcf 3,6 ;RP1=0, select bank1 289 0025 140C bsf 12,0 ;volatile - 290 0026 l599: + 290 0026 l647: 291 - 292 ;main.c: 31: T2CONbits.T2CKPS1 = 1; + 292 ;main.c: 31: T1CONbits.TMR1ON = 1; 293 0026 1283 bcf 3,5 ;RP0=0, select bank0 294 0027 1303 bcf 3,6 ;RP1=0, select bank0 295 0028 1410 bsf 16,0 ;volatile - 296 0029 l601: + 296 0029 l649: 297 - 298 ;main.c: 32: PR2 = 252; + 298 ;main.c: 32: T1CONbits.T1CKPS0 = 1; 299 0029 1610 bsf 16,4 ;volatile - 300 002A l603: + 300 002A l651: 301 - 302 ;main.c: 33: + 302 ;main.c: 33: T1CONbits.T1CKPS1 = 1; 303 002A 1690 bsf 16,5 ;volatile - 304 002B l605: + 304 002B l653: 305 - 306 ;main.c: 34: TRISCbits.TRISC0 = 0; + 306 ;main.c: 34: T1CONbits.TMR1CS = 0; 307 002B 1090 bcf 16,1 ;volatile 308 - 309 ;main.c: 35: TRISCbits.TRISC1 = 0; + 309 ;main.c: 35: TMR1H = 0x3D; 310 002C 303D movlw 61 311 002D 008F movwf 15 ;volatile 312 - 313 ;main.c: 36: TRISCbits.TRISC2 = 0; + 313 ;main.c: 36: TMR1L = 0x0A; 314 002E 300A movlw 10 315 002F 008E movwf 14 ;volatile - 316 0030 l607: + 316 0030 l655: 317 - 318 ;main.c: 39: PORTCbits.RC2 = 0; + 318 ;main.c: 39: PIE1bits.TMR2IE = 1; 319 0030 1683 bsf 3,5 ;RP0=1, select bank1 320 0031 1303 bcf 3,6 ;RP1=0, select bank1 321 0032 148C bsf 12,1 ;volatile - 322 0033 l609: + 322 0033 l657: 323 - 324 ;main.c: 40: + 324 ;main.c: 40: T2CONbits.TMR2ON = 1; 325 0033 1283 bcf 3,5 ;RP0=0, select bank0 326 0034 1303 bcf 3,6 ;RP1=0, select bank0 327 0035 1512 bsf 18,2 ;volatile - 328 0036 l611: + 328 0036 l659: 329 - 330 ;main.c: 41: while (1) { + 330 ;main.c: 41: T2CONbits.TOUTPS0 = 1; 331 0036 1592 bsf 18,3 ;volatile - 332 0037 l613: + 332 0037 l661: 333 - 334 ;main.c: 42: if (timer0Counter == 100) { + 334 ;main.c: 42: T2CONbits.TOUTPS1 = 1; 335 0037 1612 bsf 18,4 ;volatile - 336 0038 l615: + 336 0038 l663: 337 - 338 ;main.c: 43: PORTCbits.RC0 = ~PORTCbits.RC0; + 338 ;main.c: 43: T2CONbits.TOUTPS2 = 1; 339 0038 1692 bsf 18,5 ;volatile - 340 0039 l617: + 340 0039 l665: 341 - 342 ;main.c: 44: timer0Counter = 0; + 342 ;main.c: 44: T2CONbits.TOUTPS3 = 1; 343 0039 1712 bsf 18,6 ;volatile - 344 003A l619: + 344 003A l667: 345 - 346 ;main.c: 45: } + 346 ;main.c: 45: T2CONbits.T2CKPS1 = 1; 347 003A 1492 bsf 18,1 ;volatile 348 - 349 ;main.c: 46: + 349 ;main.c: 46: PR2 = 252; 350 003B 30FC movlw 252 351 003C 1683 bsf 3,5 ;RP0=1, select bank1 352 003D 1303 bcf 3,6 ;RP1=0, select bank1 353 003E 0092 movwf 18 ;volatile - 354 003F l621: + 354 003F l669: 355 - 356 ;main.c: 48: PORTCbits.RC1 = ~PORTCbits.RC1; + 356 ;main.c: 48: TRISCbits.TRISC0 = 0; 357 003F 1007 bcf 7,0 ;volatile - 358 0040 l623: + 358 0040 l671: 359 - 360 ;main.c: 49: timer1Counter = 0; + 360 ;main.c: 49: TRISCbits.TRISC1 = 0; 361 0040 1087 bcf 7,1 ;volatile - 362 0041 l625: + 362 0041 l673: 363 - 364 ;main.c: 50: } + 364 ;main.c: 50: TRISCbits.TRISC2 = 0; 365 0041 1107 bcf 7,2 ;volatile - 366 0042 l627: + 366 0042 l675: 367 - 368 ;main.c: 51: + 368 ;main.c: 51: PORTCbits.RC0 = 0; 369 0042 1283 bcf 3,5 ;RP0=0, select bank0 370 0043 1303 bcf 3,6 ;RP1=0, select bank0 371 0044 1007 bcf 7,0 ;volatile - 372 0045 l629: + 372 0045 l677: 373 - 374 ;main.c: 52: if (timer2Counter == 100) { + 374 ;main.c: 52: PORTCbits.RC1 = 0; 375 0045 1087 bcf 7,1 ;volatile - 376 0046 l631: + 376 0046 l679: 377 - 378 ;main.c: 53: PORTCbits.RC2 = ~PORTCbits.RC2; + 378 ;main.c: 53: PORTCbits.RC2 = 0; 379 0046 1107 bcf 7,2 ;volatile - 380 0047 l633: + 380 0047 l681: 381 - 382 ;main.c: 56: } + 382 ;main.c: 56: if (timer0Counter == 100) { 383 0047 3064 movlw 100 384 0048 0672 xorwf _timer0Counter,w 385 0049 1D03 btfss 3,2 386 004A 284C goto u11 387 004B 284D goto u10 388 004C u11: - 389 004C 285D goto l639 + 389 004C 285D goto l687 390 004D u10: - 391 004D l635: + 391 004D l683: 392 - 393 ;main.c: 57: + 393 ;main.c: 57: PORTCbits.RC0 = ~PORTCbits.RC0; 394 004D 1003 clrc 395 004E 1283 bcf 3,5 ;RP0=0, select bank0 396 004F 1303 bcf 3,6 ;RP1=0, select bank0 @@ -423,24 +423,24 @@ Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1 409 005A 1303 bcf 3,6 ;RP1=0, select bank0 410 005B 1007 bcf 7,0 ;volatile 411 005C u34: - 412 005C l637: + 412 005C l685: 413 - 414 ;main.c: 58: return; + 414 ;main.c: 58: timer0Counter = 0; 415 005C 01F2 clrf _timer0Counter - 416 005D l639: + 416 005D l687: 417 - 418 ;main.c: 61: void __attribute__((picinterrupt(("")))) timersISR(void) { + 418 ;main.c: 59: };main.c: 61: if (timer1Counter == 10) { 419 005D 300A movlw 10 420 005E 0671 xorwf _timer1Counter,w 421 005F 1D03 btfss 3,2 422 0060 2862 goto u41 423 0061 2863 goto u40 424 0062 u41: - 425 0062 2873 goto l645 + 425 0062 2873 goto l693 426 0063 u40: - 427 0063 l641: + 427 0063 l689: 428 - 429 ;main.c: 62: + 429 ;main.c: 62: PORTCbits.RC1 = ~PORTCbits.RC1; 430 0063 1003 clrc 431 0064 1283 bcf 3,5 ;RP0=0, select bank0 432 0065 1303 bcf 3,6 ;RP1=0, select bank0 @@ -459,24 +459,24 @@ Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1 445 0070 1303 bcf 3,6 ;RP1=0, select bank0 446 0071 1087 bcf 7,1 ;volatile 447 0072 u64: - 448 0072 l643: + 448 0072 l691: 449 - 450 ;main.c: 63: if (INTCONbits.TMR0IF == 1) { + 450 ;main.c: 63: timer1Counter = 0; 451 0072 01F1 clrf _timer1Counter - 452 0073 l645: + 452 0073 l693: 453 - 454 ;main.c: 66: TMR0 = 59; + 454 ;main.c: 64: };main.c: 66: if (timer2Counter == 100) { 455 0073 3064 movlw 100 456 0074 0670 xorwf _timer2Counter,w 457 0075 1D03 btfss 3,2 458 0076 2878 goto u71 459 0077 2879 goto u70 460 0078 u71: - 461 0078 2847 goto l633 + 461 0078 2847 goto l681 462 0079 u70: - 463 0079 l647: + 463 0079 l695: 464 - 465 ;main.c: 67: } + 465 ;main.c: 67: PORTCbits.RC2 = ~PORTCbits.RC2; 466 0079 1003 clrc 467 007A 1283 bcf 3,5 ;RP0=0, select bank0 468 007B 1303 bcf 3,6 ;RP1=0, select bank0 @@ -495,11 +495,11 @@ Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1 481 0086 1303 bcf 3,6 ;RP1=0, select bank0 482 0087 1107 bcf 7,2 ;volatile 483 0088 u94: - 484 0088 l649: + 484 0088 l697: 485 - 486 ;main.c: 68: + 486 ;main.c: 68: timer2Counter = 0; 487 0088 01F0 clrf _timer2Counter - 488 0089 2847 goto l633 + 488 0089 2847 goto l681 489 008A 120A 118A 280E ljmp start 490 008D __end_of_main: 491 @@ -537,127 +537,145 @@ Microchip MPLAB XC8 C Compiler v2.45 (Free license) build 20230818022343 Og1 523 008D _timersISR: 524 ;psect for function _timersISR 525 - 526 008D i1l651: + 526 008D i1l699: 527 - 528 ;main.c: 77: + 528 ;main.c: 77: if (INTCONbits.TMR0IF == 1) { 529 008D 1D0B btfss 11,2 ;volatile 530 008E 2890 goto u10_21 531 008F 2891 goto u10_20 532 0090 u10_21: - 533 0090 289A goto i1l659 + 533 0090 289A goto i1l707 534 0091 u10_20: - 535 0091 i1l653: + 535 0091 i1l701: 536 - 537 ;main.c: 78: if (PIR1bits.TMR2IF == 1) { + 537 ;main.c: 78: ++timer0Counter; 538 0091 3001 movlw 1 539 0092 00FF movwf btemp+1 540 0093 087F movf btemp+1,w 541 0094 07F2 addwf _timer0Counter,f - 542 0095 i1l655: + 542 0095 i1l703: 543 - 544 ;main.c: 79: ++timer2Counter; + 544 ;main.c: 79: INTCONbits.TMR0IF = 0; 545 0095 110B bcf 11,2 ;volatile - 546 0096 i1l657: + 546 0096 i1l705: 547 - 548 ;main.c: 80: PIR1bits.TMR2IF = 0; + 548 ;main.c: 80: TMR0 = 59; 549 0096 303B movlw 59 550 0097 1283 bcf 3,5 ;RP0=0, select bank0 551 0098 1303 bcf 3,6 ;RP1=0, select bank0 552 0099 0081 movwf 1 ;volatile - 553 009A i1l659: - 554 009A 1283 bcf 3,5 ;RP0=0, select bank0 - 555 009B 1303 bcf 3,6 ;RP1=0, select bank0 - 556 009C 1C0C btfss 12,0 ;volatile - 557 009D 289F goto u11_21 - 558 009E 28A0 goto u11_20 - 559 009F u11_21: - 560 009F 28A9 goto i1l669 - 561 00A0 u11_20: - 562 00A0 i1l661: - 563 00A0 3001 movlw 1 - 564 00A1 00FF movwf btemp+1 - 565 00A2 087F movf btemp+1,w - 566 00A3 07F1 addwf _timer1Counter,f - 567 00A4 i1l663: - 568 00A4 100C bcf 12,0 ;volatile - 569 00A5 i1l665: - 570 00A5 303D movlw 61 - 571 00A6 008F movwf 15 ;volatile - 572 00A7 i1l667: - 573 00A7 300A movlw 10 - 574 00A8 008E movwf 14 ;volatile - 575 00A9 i1l669: - 576 00A9 1C8C btfss 12,1 ;volatile - 577 00AA 28AC goto u12_21 - 578 00AB 28AD goto u12_20 - 579 00AC u12_21: - 580 00AC 28B6 goto i1l49 - 581 00AD u12_20: - 582 00AD i1l671: - 583 00AD 3001 movlw 1 - 584 00AE 00FF movwf btemp+1 - 585 00AF 087F movf btemp+1,w - 586 00B0 07F0 addwf _timer2Counter,f - 587 00B1 i1l673: - 588 00B1 108C bcf 12,1 ;volatile - 589 00B2 i1l675: - 590 00B2 30FC movlw 252 - 591 00B3 1683 bsf 3,5 ;RP0=1, select bank1 - 592 00B4 1303 bcf 3,6 ;RP1=0, select bank1 - 593 00B5 0092 movwf 18 ;volatile - 594 00B6 i1l49: - 595 00B6 0875 movf ??_timersISR+2,w - 596 00B7 00FF movwf btemp+1 - 597 00B8 0874 movf ??_timersISR+1,w - 598 00B9 008A movwf 10 - 599 00BA 0E73 swapf ??_timersISR,w - 600 00BB 0083 movwf 3 - 601 00BC 0EFE swapf btemp,f - 602 00BD 0E7E swapf btemp,w - 603 00BE 0009 retfie - 604 00BF __end_of_timersISR: - 605 007E btemp set 126 ;btemp - 606 007E wtemp0 set 126 - 607 - 608 psect intentry - 609 0004 __pintentry: - 610 ;incstack = 0 - 611 ; Regs used in _timersISR: [wreg+status,2+status,0+btemp+1] - 612 - 613 0004 interrupt_function: - 614 007E saved_w set btemp - 615 0004 00FE movwf btemp - 616 0005 0E03 swapf 3,w - 617 0006 00F3 movwf ??_timersISR - 618 0007 080A movf 10,w - 619 0008 00F4 movwf ??_timersISR+1 - 620 0009 087F movf btemp+1,w - 621 000A 00F5 movwf ??_timersISR+2 - 622 000B 120A 118A 288D ljmp _timersISR - 623 - 624 psect config + 553 009A i1l707: + 554 + 555 ;main.c: 81: };main.c: 84: if (PIR1bits.TMR1IF == 1) { + 556 009A 1283 bcf 3,5 ;RP0=0, select bank0 + 557 009B 1303 bcf 3,6 ;RP1=0, select bank0 + 558 009C 1C0C btfss 12,0 ;volatile + 559 009D 289F goto u11_21 + 560 009E 28A0 goto u11_20 + 561 009F u11_21: + 562 009F 28A9 goto i1l717 + 563 00A0 u11_20: + 564 00A0 i1l709: + 565 + 566 ;main.c: 85: ++timer1Counter; + 567 00A0 3001 movlw 1 + 568 00A1 00FF movwf btemp+1 + 569 00A2 087F movf btemp+1,w + 570 00A3 07F1 addwf _timer1Counter,f + 571 00A4 i1l711: + 572 + 573 ;main.c: 86: PIR1bits.TMR1IF = 0; + 574 00A4 100C bcf 12,0 ;volatile + 575 00A5 i1l713: + 576 + 577 ;main.c: 87: TMR1H = 0x3D; + 578 00A5 303D movlw 61 + 579 00A6 008F movwf 15 ;volatile + 580 00A7 i1l715: + 581 + 582 ;main.c: 88: TMR1L = 0x0A; + 583 00A7 300A movlw 10 + 584 00A8 008E movwf 14 ;volatile + 585 00A9 i1l717: + 586 + 587 ;main.c: 89: };main.c: 92: if (PIR1bits.TMR2IF == 1) { + 588 00A9 1C8C btfss 12,1 ;volatile + 589 00AA 28AC goto u12_21 + 590 00AB 28AD goto u12_20 + 591 00AC u12_21: + 592 00AC 28B6 goto i1l49 + 593 00AD u12_20: + 594 00AD i1l719: + 595 + 596 ;main.c: 93: ++timer2Counter; + 597 00AD 3001 movlw 1 + 598 00AE 00FF movwf btemp+1 + 599 00AF 087F movf btemp+1,w + 600 00B0 07F0 addwf _timer2Counter,f + 601 00B1 i1l721: + 602 + 603 ;main.c: 94: PIR1bits.TMR2IF = 0; + 604 00B1 108C bcf 12,1 ;volatile + 605 00B2 i1l723: + 606 + 607 ;main.c: 95: PR2 = 252; + 608 00B2 30FC movlw 252 + 609 00B3 1683 bsf 3,5 ;RP0=1, select bank1 + 610 00B4 1303 bcf 3,6 ;RP1=0, select bank1 + 611 00B5 0092 movwf 18 ;volatile + 612 00B6 i1l49: + 613 00B6 0875 movf ??_timersISR+2,w + 614 00B7 00FF movwf btemp+1 + 615 00B8 0874 movf ??_timersISR+1,w + 616 00B9 008A movwf 10 + 617 00BA 0E73 swapf ??_timersISR,w + 618 00BB 0083 movwf 3 + 619 00BC 0EFE swapf btemp,f + 620 00BD 0E7E swapf btemp,w + 621 00BE 0009 retfie + 622 00BF __end_of_timersISR: + 623 007E btemp set 126 ;btemp + 624 007E wtemp0 set 126 625 - 626 ;Config register CONFIG @ 0x2007 - 627 ; Oscillator Selection bits - 628 ; FOSC = HS, HS oscillator - 629 ; Watchdog Timer Enable bit - 630 ; WDTE = OFF, WDT disabled - 631 ; Power-up Timer Enable bit - 632 ; PWRTE = OFF, PWRT disabled - 633 ; Brown-out Reset Enable bit - 634 ; BOREN = OFF, BOR disabled - 635 ; Low-Voltage (Single-Supply) In-Circuit Serial Programming Enable bit - 636 ; LVP = ON, RB3/PGM pin has PGM function; low-voltage programming enabled - 637 ; Data EEPROM Memory Code Protection bit - 638 ; CPD = OFF, Data EEPROM code protection off - 639 ; Flash Program Memory Write Enable bits - 640 ; WRT = OFF, Write protection off; all program memory may be written to by EECON control - 641 ; In-Circuit Debugger Mode bit - 642 ; DEBUG = 0x1, unprogrammed default - 643 ; Flash Program Memory Code Protection bit - 644 ; CP = OFF, Code protection off - 645 2007 org 8199 - 646 2007 3FBA dw 16314 + 626 psect intentry + 627 0004 __pintentry: + 628 ;incstack = 0 + 629 ; Regs used in _timersISR: [wreg+status,2+status,0+btemp+1] + 630 + 631 0004 interrupt_function: + 632 007E saved_w set btemp + 633 0004 00FE movwf btemp + 634 0005 0E03 swapf 3,w + 635 0006 00F3 movwf ??_timersISR + 636 0007 080A movf 10,w + 637 0008 00F4 movwf ??_timersISR+1 + 638 0009 087F movf btemp+1,w + 639 000A 00F5 movwf ??_timersISR+2 + 640 000B 120A 118A 288D ljmp _timersISR + 641 + 642 psect config + 643 + 644 ;Config register CONFIG @ 0x2007 + 645 ; Oscillator Selection bits + 646 ; FOSC = HS, HS oscillator + 647 ; Watchdog Timer Enable bit + 648 ; WDTE = OFF, WDT disabled + 649 ; Power-up Timer Enable bit + 650 ; PWRTE = OFF, PWRT disabled + 651 ; Brown-out Reset Enable bit + 652 ; BOREN = OFF, BOR disabled + 653 ; Low-Voltage (Single-Supply) In-Circuit Serial Programming Enable bit + 654 ; LVP = ON, RB3/PGM pin has PGM function; low-voltage programming enabled + 655 ; Data EEPROM Memory Code Protection bit + 656 ; CPD = OFF, Data EEPROM code protection off + 657 ; Flash Program Memory Write Enable bits + 658 ; WRT = OFF, Write protection off; all program memory may be written to by EECON control + 659 ; In-Circuit Debugger Mode bit + 660 ; DEBUG = 0x1, unprogrammed default + 661 ; Flash Program Memory Code Protection bit + 662 ; CP = OFF, Code protection off + 663 2007 org 8199 + 664 2007 3FBA dw 16314 Data Sizes: Strings 0 @@ -771,30 +789,30 @@ DATA 0 0 6 12 0.0% Microchip Technology PIC Macro Assembler V2.45 build 20230818022343 -Symbol Table Sat May 18 21:58:25 2024 +Symbol Table Mon May 20 18:01:10 2024 u10 004D u11 004C u20 0059 u21 0055 u40 0063 u41 0062 u50 006F u34 005C u51 006B u70 0079 u71 0078 u80 0085 u64 0072 u81 0081 u94 0088 - l601 0029 l611 0036 l603 002A - l621 003F l613 0037 l605 002B - l631 0046 l623 0040 l615 0038 - l607 0030 l641 0063 l633 0047 - l625 0041 l617 0039 l609 0033 - l643 0072 l635 004D l627 0042 - l619 003A l645 0073 l637 005C - l629 0045 l647 0079 l639 005D - l649 0088 l593 0018 l595 001B - l597 0023 l599 0026 _PR2 0092 + l641 0018 l651 002A l643 001B + l661 0037 l653 002B l645 0023 + l671 0040 l663 0038 l655 0030 + l647 0026 l681 0047 l673 0041 + l665 0039 l657 0033 l649 0029 + l691 0072 l683 004D l675 0042 + l667 003A l659 0036 l693 0073 + l685 005C l677 0045 l669 003F + l695 0079 l687 005D l679 0046 + l697 0088 l689 0063 _PR2 0092 i1l49 00B6 _TMR0 0001 _main 0018 btemp 007E start 000E ?_main 0073 - i1l651 008D i1l661 00A0 i1l653 0091 - i1l671 00AD i1l663 00A4 i1l655 0095 - i1l673 00B1 i1l665 00A5 i1l657 0096 - i1l675 00B2 i1l667 00A7 i1l659 009A - i1l669 00A9 u10_20 0091 u10_21 0090 + i1l701 0091 i1l711 00A4 i1l703 0095 + i1l721 00B1 i1l713 00A5 i1l705 0096 + i1l723 00B2 i1l715 00A7 i1l707 009A + i1l709 00A0 i1l717 00A9 i1l719 00AD + i1l699 008D u10_20 0091 u10_21 0090 u11_20 00A0 u11_21 009F u12_20 00AD u12_21 00AC _TMR1H 000F _TMR1L 000E pclath 000A status 0003 wtemp0 007E diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.map b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.map index 161dd0d..91f4158 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.map +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.map @@ -6,10 +6,10 @@ Linker command line: --edf=C:\Program Files\Microchip\xc8\v2.45\pic\dat\20230818022343_en.msgs \ -cn -h+dist/default/production\TimerInterrupt.X.production.sym \ --cmf=dist/default/production\TimerInterrupt.X.production.cmf -z \ - -Q16F877A -oC:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_3.o \ + -Q16F877A -oC:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_3.o \ --defsym=__MPLAB_BUILD=1 --fixupoverflow=error \ -Mdist/default/production/TimerInterrupt.X.production.map \ - --md=C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_0.dat -E1 \ + --md=C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_0.dat -E1 \ -ver=XC8 Compiler --acfsm=1493 -ACODE=00h-07FFhx4 -ASTRCODE=00h-01FFFh \ -ASTRING=00h-0FFhx32 -ACONST=00h-0FFhx32 -AENTRY=00h-0FFhx32 \ -ACOMMON=070h-07Fh -ABANK0=020h-06Fh -ABANK1=0A0h-0EFh \ @@ -22,7 +22,7 @@ Linker command line: -DSTRCODE=2 -DSTRING=2 -DCONST=2 -DENTRY=2 \ -preset_vec=00h,intentry=04h,init,end_init -ppowerup=CODE -pcinit=CODE \ -pfunctab=ENTRY -k \ - C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o \ + C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o \ dist/default/production\TimerInterrupt.X.production.o Object code version is 3.11 @@ -32,7 +32,7 @@ Machine type is 16F877A Name Link Load Length Selector Space Scale -C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_12.o +C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_13.o end_init E E 3 8 0 reset_vec 0 0 3 0 0 config 2007 2007 1 0 4 diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.o b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.o index b5787d7..e92dcf6 100644 Binary files a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.o and b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.o differ diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.rlf b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.rlf index e6641f9..a562763 100644 Binary files a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.rlf and b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.rlf differ diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sdb b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sdb index 81fa92d..fd82f72 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sdb +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sdb @@ -3,11 +3,11 @@ [d edition pro ] [d chip 16F877A ] [d frameptr 0 ] -"10 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\common\sprcadd.c +"10 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c90\common\sprcadd.c [v ___fladd __fladd `(d 1 e 4 0 ] -"4 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\common\Umul8_16.c +"4 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c90\common\Umul8_16.c [v __Umul8_16 _Umul8_16 `(ui 1 e 2 0 ] -"6 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c +"6 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c90\pic\__eeprom.c [v ___eecpymem __eecpymem `(v 1 e 1 0 ] "39 [v ___memcpyee __memcpyee `(v 1 e 1 0 ] diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sym b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sym index b4bd0a9..ae77077 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sym +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/TimerInterrupt.X.production.sym @@ -128,7 +128,7 @@ intentry 8 17D CODE 8 0 bssCOMMON 70 75 COMMON 70 1 %locals dist/default/production\TimerInterrupt.X.production.o -C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsfsg.\driver_tmp_1.s +C:\Users\CHOAIB~1\AppData\Local\Temp\xcAsi3g.\driver_tmp_1.s 378 11 0 CODE 0 381 11 0 CODE 0 398 11 0 CODE 0 diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.d b/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.d index 9366fda..9ea83e5 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.d +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.d @@ -1,2 +1 @@ -dist/default/production\__eeprom.p1: \ - C:\Program\ Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c + dist/default/production/__eeprom.d dist/default/production/__eeprom.p1: C:/Program\ Files/Microchip/xc8/v2.45/pic/sources/c90/pic/__eeprom.c C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/language_support.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/pic.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/pic_chip_select.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/proc/pic16f877a.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/xc.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/htc.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/__at.h C:/Program\ Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8/pic/include/builtins.h \ No newline at end of file diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.i b/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.i index 775405d..06ed86c 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.i +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.i @@ -1,1971 +1,1862 @@ -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\sources\\c99\\pic\\__eeprom.c" -# 1 "" 1 -# 1 "" 3 -# 288 "" 3 -# 1 "" 1 -# 1 "" 2 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\language_support.h" 1 3 -# 2 "" 2 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\sources\\c99\\pic\\__eeprom.c" 2 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 1 3 -# 18 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 3 -extern const char __xc8_OPTIM_SPEED; - -extern double __fpnormalize(double); - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\xc8debug.h" 1 3 - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 1 3 - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\musl_xc8.h" 1 3 -# 5 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 2 3 - - - - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\features.h" 1 3 -# 11 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 2 3 -# 21 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 1 3 -# 24 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef long int wchar_t; -# 128 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef unsigned size_t; -# 174 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef __int24 int24_t; -# 210 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef __uint24 uint24_t; -# 22 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 2 3 - -int atoi (const char *); -long atol (const char *); - - - -double atof (const char *); - - -float strtof (const char *restrict, char **restrict); -double strtod (const char *restrict, char **restrict); -long double strtold (const char *restrict, char **restrict); - - - -long strtol (const char *restrict, char **restrict, int); -unsigned long strtoul (const char *restrict, char **restrict, int); - - - - - -unsigned long __strtoxl(const char * s, char ** endptr, int base, char is_signed); -# 55 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdlib.h" 3 -int rand (void); -void srand (unsigned); - -void *malloc (size_t); -void *calloc (size_t, size_t); -void *realloc (void *, size_t); -void free (void *); - - void abort (void); -int atexit (void (*) (void)); - void exit (int); - void _Exit (int); - -void *bsearch (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); - - - - - - - -__attribute__((nonreentrant)) void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); - -int abs (int); -long labs (long); - - - - -typedef struct { int quot, rem; } div_t; -typedef struct { long quot, rem; } ldiv_t; - - - - -div_t div (int, int); -ldiv_t ldiv (long, long); - - - - -typedef struct { unsigned int quot, rem; } udiv_t; -typedef struct { unsigned long quot, rem; } uldiv_t; -udiv_t udiv (unsigned int, unsigned int); -uldiv_t uldiv (unsigned long, unsigned long); -# 5 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\xc8debug.h" 2 3 - - +# 1 "C:\Program Files\Microchip\xc8\v2.45\pic\sources\c90\pic\__eeprom.c" +# 18 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\xc.h" +extern const char __xc8_OPTIM_SPEED; +extern double __fpnormalize(double); +# 13 "C:\Program Files\Microchip\xc8\v2.45\pic\include\c90\xc8debug.h" #pragma intrinsic(__builtin_software_breakpoint) extern void __builtin_software_breakpoint(void); -# 24 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 2 3 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\builtins.h" 1 3 - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 1 3 -# 26 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 1 3 -# 133 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef unsigned short uintptr_t; -# 148 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef short intptr_t; -# 164 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 +# 13 "C:\Program Files\Microchip\xc8\v2.45\pic\include\c90\stdint.h" typedef signed char int8_t; +# 20 +typedef signed int int16_t; +# 28 +typedef __int24 int24_t; +# 36 +typedef signed long int int32_t; -typedef short int16_t; -# 179 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef long int32_t; -# 192 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef int32_t intmax_t; - - +# 52 +typedef unsigned char uint8_t; +# 58 +typedef unsigned int uint16_t; +# 65 +typedef __uint24 uint24_t; +# 72 +typedef unsigned long int uint32_t; +# 88 +typedef signed char int_least8_t; -typedef unsigned char uint8_t; +# 96 +typedef signed int int_least16_t; +# 109 +typedef __int24 int_least24_t; +# 118 +typedef signed long int int_least32_t; +# 136 +typedef unsigned char uint_least8_t; -typedef unsigned short uint16_t; -# 215 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef unsigned long uint32_t; -# 233 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/alltypes.h" 3 -typedef uint32_t uintmax_t; -# 27 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 2 3 +# 143 +typedef unsigned int uint_least16_t; -typedef int8_t int_fast8_t; +# 154 +typedef __uint24 uint_least24_t; +# 162 +typedef unsigned long int uint_least32_t; +# 181 +typedef signed char int_fast8_t; +# 188 +typedef signed int int_fast16_t; -typedef int8_t int_least8_t; -typedef int16_t int_least16_t; +# 200 +typedef __int24 int_fast24_t; -typedef int24_t int_least24_t; -typedef int24_t int_fast24_t; +# 208 +typedef signed long int int_fast32_t; -typedef int32_t int_least32_t; +# 224 +typedef unsigned char uint_fast8_t; +# 230 +typedef unsigned int uint_fast16_t; +# 240 +typedef __uint24 uint_fast24_t; +# 247 +typedef unsigned long int uint_fast32_t; -typedef uint8_t uint_fast8_t; +# 268 +typedef int32_t intmax_t; +# 282 +typedef uint32_t uintmax_t; +# 289 +typedef int16_t intptr_t; -typedef uint8_t uint_least8_t; -typedef uint16_t uint_least16_t; -typedef uint24_t uint_least24_t; -typedef uint24_t uint_fast24_t; -typedef uint32_t uint_least32_t; -# 148 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\bits/stdint.h" 1 3 -typedef int16_t int_fast16_t; -typedef int32_t int_fast32_t; -typedef uint16_t uint_fast16_t; -typedef uint32_t uint_fast32_t; -# 149 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\c99\\stdint.h" 2 3 -# 5 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\builtins.h" 2 3 +typedef uint16_t uintptr_t; +# 7 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\builtins.h" #pragma intrinsic(__nop) extern void __nop(void); #pragma intrinsic(_delay) -extern __attribute__((nonreentrant)) void _delay(uint32_t); +extern __nonreentrant void _delay(uint32_t); #pragma intrinsic(_delaywdt) -extern __attribute__((nonreentrant)) void _delaywdt(uint32_t); -# 25 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 2 3 - - +extern __nonreentrant void _delaywdt(uint32_t); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 1 3 +# 52 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h" +extern volatile unsigned char INDF __at(0x000); +asm("INDF equ 00h"); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\htc.h" 1 3 +extern volatile unsigned char TMR0 __at(0x001); +asm("TMR0 equ 01h"); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 1 3 -# 5 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\htc.h" 2 3 -# 6 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 2 3 +extern volatile unsigned char PCL __at(0x002); +asm("PCL equ 02h"); -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic_chip_select.h" 1 3 -# 664 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic_chip_select.h" 3 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 1 3 -# 44 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -# 1 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\__at.h" 1 3 -# 45 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 2 3 +extern volatile unsigned char STATUS __at(0x003); - - - - - -extern volatile unsigned char INDF __attribute__((address(0x000))); - -__asm("INDF equ 00h"); - - - - -extern volatile unsigned char TMR0 __attribute__((address(0x001))); - -__asm("TMR0 equ 01h"); - - - - -extern volatile unsigned char PCL __attribute__((address(0x002))); - -__asm("PCL equ 02h"); - - - - -extern volatile unsigned char STATUS __attribute__((address(0x003))); - -__asm("STATUS equ 03h"); +asm("STATUS equ 03h"); typedef union { - struct { - unsigned C :1; - unsigned DC :1; - unsigned Z :1; - unsigned nPD :1; - unsigned nTO :1; - unsigned RP :2; - unsigned IRP :1; - }; - struct { - unsigned :5; - unsigned RP0 :1; - unsigned RP1 :1; - }; - struct { - unsigned CARRY :1; - unsigned :1; - unsigned ZERO :1; - }; +struct { +unsigned C :1; +unsigned DC :1; +unsigned Z :1; +unsigned nPD :1; +unsigned nTO :1; +unsigned RP :2; +unsigned IRP :1; +}; +struct { +unsigned :5; +unsigned RP0 :1; +unsigned RP1 :1; +}; +struct { +unsigned CARRY :1; +unsigned :1; +unsigned ZERO :1; +}; } STATUSbits_t; -extern volatile STATUSbits_t STATUSbits __attribute__((address(0x003))); -# 159 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char FSR __attribute__((address(0x004))); +extern volatile STATUSbits_t STATUSbits __at(0x003); + +# 159 +extern volatile unsigned char FSR __at(0x004); -__asm("FSR equ 04h"); +asm("FSR equ 04h"); -extern volatile unsigned char PORTA __attribute__((address(0x005))); +extern volatile unsigned char PORTA __at(0x005); -__asm("PORTA equ 05h"); +asm("PORTA equ 05h"); typedef union { - struct { - unsigned RA0 :1; - unsigned RA1 :1; - unsigned RA2 :1; - unsigned RA3 :1; - unsigned RA4 :1; - unsigned RA5 :1; - }; +struct { +unsigned RA0 :1; +unsigned RA1 :1; +unsigned RA2 :1; +unsigned RA3 :1; +unsigned RA4 :1; +unsigned RA5 :1; +}; } PORTAbits_t; -extern volatile PORTAbits_t PORTAbits __attribute__((address(0x005))); -# 216 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTB __attribute__((address(0x006))); +extern volatile PORTAbits_t PORTAbits __at(0x005); -__asm("PORTB equ 06h"); +# 216 +extern volatile unsigned char PORTB __at(0x006); + +asm("PORTB equ 06h"); typedef union { - struct { - unsigned RB0 :1; - unsigned RB1 :1; - unsigned RB2 :1; - unsigned RB3 :1; - unsigned RB4 :1; - unsigned RB5 :1; - unsigned RB6 :1; - unsigned RB7 :1; - }; +struct { +unsigned RB0 :1; +unsigned RB1 :1; +unsigned RB2 :1; +unsigned RB3 :1; +unsigned RB4 :1; +unsigned RB5 :1; +unsigned RB6 :1; +unsigned RB7 :1; +}; } PORTBbits_t; -extern volatile PORTBbits_t PORTBbits __attribute__((address(0x006))); -# 278 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTC __attribute__((address(0x007))); +extern volatile PORTBbits_t PORTBbits __at(0x006); + +# 278 +extern volatile unsigned char PORTC __at(0x007); -__asm("PORTC equ 07h"); +asm("PORTC equ 07h"); typedef union { - struct { - unsigned RC0 :1; - unsigned RC1 :1; - unsigned RC2 :1; - unsigned RC3 :1; - unsigned RC4 :1; - unsigned RC5 :1; - unsigned RC6 :1; - unsigned RC7 :1; - }; +struct { +unsigned RC0 :1; +unsigned RC1 :1; +unsigned RC2 :1; +unsigned RC3 :1; +unsigned RC4 :1; +unsigned RC5 :1; +unsigned RC6 :1; +unsigned RC7 :1; +}; } PORTCbits_t; -extern volatile PORTCbits_t PORTCbits __attribute__((address(0x007))); -# 340 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTD __attribute__((address(0x008))); +extern volatile PORTCbits_t PORTCbits __at(0x007); -__asm("PORTD equ 08h"); +# 340 +extern volatile unsigned char PORTD __at(0x008); + +asm("PORTD equ 08h"); typedef union { - struct { - unsigned RD0 :1; - unsigned RD1 :1; - unsigned RD2 :1; - unsigned RD3 :1; - unsigned RD4 :1; - unsigned RD5 :1; - unsigned RD6 :1; - unsigned RD7 :1; - }; +struct { +unsigned RD0 :1; +unsigned RD1 :1; +unsigned RD2 :1; +unsigned RD3 :1; +unsigned RD4 :1; +unsigned RD5 :1; +unsigned RD6 :1; +unsigned RD7 :1; +}; } PORTDbits_t; -extern volatile PORTDbits_t PORTDbits __attribute__((address(0x008))); -# 402 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PORTE __attribute__((address(0x009))); +extern volatile PORTDbits_t PORTDbits __at(0x008); + +# 402 +extern volatile unsigned char PORTE __at(0x009); -__asm("PORTE equ 09h"); +asm("PORTE equ 09h"); typedef union { - struct { - unsigned RE0 :1; - unsigned RE1 :1; - unsigned RE2 :1; - }; +struct { +unsigned RE0 :1; +unsigned RE1 :1; +unsigned RE2 :1; +}; } PORTEbits_t; -extern volatile PORTEbits_t PORTEbits __attribute__((address(0x009))); -# 434 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PCLATH __attribute__((address(0x00A))); +extern volatile PORTEbits_t PORTEbits __at(0x009); -__asm("PCLATH equ 0Ah"); +# 434 +extern volatile unsigned char PCLATH __at(0x00A); + +asm("PCLATH equ 0Ah"); typedef union { - struct { - unsigned PCLATH :5; - }; +struct { +unsigned PCLATH :5; +}; } PCLATHbits_t; -extern volatile PCLATHbits_t PCLATHbits __attribute__((address(0x00A))); -# 454 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char INTCON __attribute__((address(0x00B))); +extern volatile PCLATHbits_t PCLATHbits __at(0x00A); + +# 454 +extern volatile unsigned char INTCON __at(0x00B); -__asm("INTCON equ 0Bh"); +asm("INTCON equ 0Bh"); typedef union { - struct { - unsigned RBIF :1; - unsigned INTF :1; - unsigned TMR0IF :1; - unsigned RBIE :1; - unsigned INTE :1; - unsigned TMR0IE :1; - unsigned PEIE :1; - unsigned GIE :1; - }; - struct { - unsigned :2; - unsigned T0IF :1; - unsigned :2; - unsigned T0IE :1; - }; +struct { +unsigned RBIF :1; +unsigned INTF :1; +unsigned TMR0IF :1; +unsigned RBIE :1; +unsigned INTE :1; +unsigned TMR0IE :1; +unsigned PEIE :1; +unsigned GIE :1; +}; +struct { +unsigned :2; +unsigned T0IF :1; +unsigned :2; +unsigned T0IE :1; +}; } INTCONbits_t; -extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); -# 532 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIR1 __attribute__((address(0x00C))); +extern volatile INTCONbits_t INTCONbits __at(0x00B); -__asm("PIR1 equ 0Ch"); +# 532 +extern volatile unsigned char PIR1 __at(0x00C); + +asm("PIR1 equ 0Ch"); typedef union { - struct { - unsigned TMR1IF :1; - unsigned TMR2IF :1; - unsigned CCP1IF :1; - unsigned SSPIF :1; - unsigned TXIF :1; - unsigned RCIF :1; - unsigned ADIF :1; - unsigned PSPIF :1; - }; +struct { +unsigned TMR1IF :1; +unsigned TMR2IF :1; +unsigned CCP1IF :1; +unsigned SSPIF :1; +unsigned TXIF :1; +unsigned RCIF :1; +unsigned ADIF :1; +unsigned PSPIF :1; +}; } PIR1bits_t; -extern volatile PIR1bits_t PIR1bits __attribute__((address(0x00C))); -# 594 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIR2 __attribute__((address(0x00D))); +extern volatile PIR1bits_t PIR1bits __at(0x00C); + +# 594 +extern volatile unsigned char PIR2 __at(0x00D); -__asm("PIR2 equ 0Dh"); +asm("PIR2 equ 0Dh"); typedef union { - struct { - unsigned CCP2IF :1; - unsigned :2; - unsigned BCLIF :1; - unsigned EEIF :1; - unsigned :1; - unsigned CMIF :1; - }; +struct { +unsigned CCP2IF :1; +unsigned :2; +unsigned BCLIF :1; +unsigned EEIF :1; +unsigned :1; +unsigned CMIF :1; +}; } PIR2bits_t; -extern volatile PIR2bits_t PIR2bits __attribute__((address(0x00D))); -# 634 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned short TMR1 __attribute__((address(0x00E))); +extern volatile PIR2bits_t PIR2bits __at(0x00D); + +# 634 +extern volatile unsigned short TMR1 __at(0x00E); -__asm("TMR1 equ 0Eh"); +asm("TMR1 equ 0Eh"); -extern volatile unsigned char TMR1L __attribute__((address(0x00E))); +extern volatile unsigned char TMR1L __at(0x00E); -__asm("TMR1L equ 0Eh"); +asm("TMR1L equ 0Eh"); -extern volatile unsigned char TMR1H __attribute__((address(0x00F))); +extern volatile unsigned char TMR1H __at(0x00F); -__asm("TMR1H equ 0Fh"); +asm("TMR1H equ 0Fh"); -extern volatile unsigned char T1CON __attribute__((address(0x010))); +extern volatile unsigned char T1CON __at(0x010); -__asm("T1CON equ 010h"); +asm("T1CON equ 010h"); typedef union { - struct { - unsigned TMR1ON :1; - unsigned TMR1CS :1; - unsigned nT1SYNC :1; - unsigned T1OSCEN :1; - unsigned T1CKPS :2; - }; - struct { - unsigned :2; - unsigned T1SYNC :1; - unsigned :1; - unsigned T1CKPS0 :1; - unsigned T1CKPS1 :1; - }; - struct { - unsigned :2; - unsigned T1INSYNC :1; - }; +struct { +unsigned TMR1ON :1; +unsigned TMR1CS :1; +unsigned nT1SYNC :1; +unsigned T1OSCEN :1; +unsigned T1CKPS :2; +}; +struct { +unsigned :2; +unsigned T1SYNC :1; +unsigned :1; +unsigned T1CKPS0 :1; +unsigned T1CKPS1 :1; +}; +struct { +unsigned :2; +unsigned T1INSYNC :1; +}; } T1CONbits_t; -extern volatile T1CONbits_t T1CONbits __attribute__((address(0x010))); -# 730 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TMR2 __attribute__((address(0x011))); +extern volatile T1CONbits_t T1CONbits __at(0x010); -__asm("TMR2 equ 011h"); +# 730 +extern volatile unsigned char TMR2 __at(0x011); +asm("TMR2 equ 011h"); -extern volatile unsigned char T2CON __attribute__((address(0x012))); -__asm("T2CON equ 012h"); +extern volatile unsigned char T2CON __at(0x012); + +asm("T2CON equ 012h"); typedef union { - struct { - unsigned T2CKPS :2; - unsigned TMR2ON :1; - unsigned TOUTPS :4; - }; - struct { - unsigned T2CKPS0 :1; - unsigned T2CKPS1 :1; - unsigned :1; - unsigned TOUTPS0 :1; - unsigned TOUTPS1 :1; - unsigned TOUTPS2 :1; - unsigned TOUTPS3 :1; - }; +struct { +unsigned T2CKPS :2; +unsigned TMR2ON :1; +unsigned TOUTPS :4; +}; +struct { +unsigned T2CKPS0 :1; +unsigned T2CKPS1 :1; +unsigned :1; +unsigned TOUTPS0 :1; +unsigned TOUTPS1 :1; +unsigned TOUTPS2 :1; +unsigned TOUTPS3 :1; +}; } T2CONbits_t; -extern volatile T2CONbits_t T2CONbits __attribute__((address(0x012))); -# 808 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char SSPBUF __attribute__((address(0x013))); +extern volatile T2CONbits_t T2CONbits __at(0x012); + +# 808 +extern volatile unsigned char SSPBUF __at(0x013); -__asm("SSPBUF equ 013h"); +asm("SSPBUF equ 013h"); -extern volatile unsigned char SSPCON __attribute__((address(0x014))); +extern volatile unsigned char SSPCON __at(0x014); -__asm("SSPCON equ 014h"); +asm("SSPCON equ 014h"); typedef union { - struct { - unsigned SSPM :4; - unsigned CKP :1; - unsigned SSPEN :1; - unsigned SSPOV :1; - unsigned WCOL :1; - }; - struct { - unsigned SSPM0 :1; - unsigned SSPM1 :1; - unsigned SSPM2 :1; - unsigned SSPM3 :1; - }; +struct { +unsigned SSPM :4; +unsigned CKP :1; +unsigned SSPEN :1; +unsigned SSPOV :1; +unsigned WCOL :1; +}; +struct { +unsigned SSPM0 :1; +unsigned SSPM1 :1; +unsigned SSPM2 :1; +unsigned SSPM3 :1; +}; } SSPCONbits_t; -extern volatile SSPCONbits_t SSPCONbits __attribute__((address(0x014))); -# 885 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned short CCPR1 __attribute__((address(0x015))); +extern volatile SSPCONbits_t SSPCONbits __at(0x014); -__asm("CCPR1 equ 015h"); +# 885 +extern volatile unsigned short CCPR1 __at(0x015); +asm("CCPR1 equ 015h"); -extern volatile unsigned char CCPR1L __attribute__((address(0x015))); -__asm("CCPR1L equ 015h"); +extern volatile unsigned char CCPR1L __at(0x015); +asm("CCPR1L equ 015h"); -extern volatile unsigned char CCPR1H __attribute__((address(0x016))); -__asm("CCPR1H equ 016h"); +extern volatile unsigned char CCPR1H __at(0x016); +asm("CCPR1H equ 016h"); -extern volatile unsigned char CCP1CON __attribute__((address(0x017))); -__asm("CCP1CON equ 017h"); +extern volatile unsigned char CCP1CON __at(0x017); + +asm("CCP1CON equ 017h"); typedef union { - struct { - unsigned CCP1M :4; - unsigned CCP1Y :1; - unsigned CCP1X :1; - }; - struct { - unsigned CCP1M0 :1; - unsigned CCP1M1 :1; - unsigned CCP1M2 :1; - unsigned CCP1M3 :1; - }; +struct { +unsigned CCP1M :4; +unsigned CCP1Y :1; +unsigned CCP1X :1; +}; +struct { +unsigned CCP1M0 :1; +unsigned CCP1M1 :1; +unsigned CCP1M2 :1; +unsigned CCP1M3 :1; +}; } CCP1CONbits_t; -extern volatile CCP1CONbits_t CCP1CONbits __attribute__((address(0x017))); -# 964 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char RCSTA __attribute__((address(0x018))); +extern volatile CCP1CONbits_t CCP1CONbits __at(0x017); + +# 964 +extern volatile unsigned char RCSTA __at(0x018); -__asm("RCSTA equ 018h"); +asm("RCSTA equ 018h"); typedef union { - struct { - unsigned RX9D :1; - unsigned OERR :1; - unsigned FERR :1; - unsigned ADDEN :1; - unsigned CREN :1; - unsigned SREN :1; - unsigned RX9 :1; - unsigned SPEN :1; - }; - struct { - unsigned RCD8 :1; - unsigned :5; - unsigned RC9 :1; - }; - struct { - unsigned :6; - unsigned nRC8 :1; - }; - struct { - unsigned :6; - unsigned RC8_9 :1; - }; +struct { +unsigned RX9D :1; +unsigned OERR :1; +unsigned FERR :1; +unsigned ADDEN :1; +unsigned CREN :1; +unsigned SREN :1; +unsigned RX9 :1; +unsigned SPEN :1; +}; +struct { +unsigned RCD8 :1; +unsigned :5; +unsigned RC9 :1; +}; +struct { +unsigned :6; +unsigned nRC8 :1; +}; +struct { +unsigned :6; +unsigned RC8_9 :1; +}; } RCSTAbits_t; -extern volatile RCSTAbits_t RCSTAbits __attribute__((address(0x018))); -# 1059 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TXREG __attribute__((address(0x019))); +extern volatile RCSTAbits_t RCSTAbits __at(0x018); -__asm("TXREG equ 019h"); +# 1059 +extern volatile unsigned char TXREG __at(0x019); +asm("TXREG equ 019h"); -extern volatile unsigned char RCREG __attribute__((address(0x01A))); -__asm("RCREG equ 01Ah"); +extern volatile unsigned char RCREG __at(0x01A); +asm("RCREG equ 01Ah"); -extern volatile unsigned short CCPR2 __attribute__((address(0x01B))); -__asm("CCPR2 equ 01Bh"); +extern volatile unsigned short CCPR2 __at(0x01B); +asm("CCPR2 equ 01Bh"); -extern volatile unsigned char CCPR2L __attribute__((address(0x01B))); -__asm("CCPR2L equ 01Bh"); +extern volatile unsigned char CCPR2L __at(0x01B); +asm("CCPR2L equ 01Bh"); -extern volatile unsigned char CCPR2H __attribute__((address(0x01C))); -__asm("CCPR2H equ 01Ch"); +extern volatile unsigned char CCPR2H __at(0x01C); +asm("CCPR2H equ 01Ch"); -extern volatile unsigned char CCP2CON __attribute__((address(0x01D))); -__asm("CCP2CON equ 01Dh"); +extern volatile unsigned char CCP2CON __at(0x01D); + +asm("CCP2CON equ 01Dh"); typedef union { - struct { - unsigned CCP2M :4; - unsigned CCP2Y :1; - unsigned CCP2X :1; - }; - struct { - unsigned CCP2M0 :1; - unsigned CCP2M1 :1; - unsigned CCP2M2 :1; - unsigned CCP2M3 :1; - }; +struct { +unsigned CCP2M :4; +unsigned CCP2Y :1; +unsigned CCP2X :1; +}; +struct { +unsigned CCP2M0 :1; +unsigned CCP2M1 :1; +unsigned CCP2M2 :1; +unsigned CCP2M3 :1; +}; } CCP2CONbits_t; -extern volatile CCP2CONbits_t CCP2CONbits __attribute__((address(0x01D))); -# 1152 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char ADRESH __attribute__((address(0x01E))); +extern volatile CCP2CONbits_t CCP2CONbits __at(0x01D); + +# 1152 +extern volatile unsigned char ADRESH __at(0x01E); -__asm("ADRESH equ 01Eh"); +asm("ADRESH equ 01Eh"); -extern volatile unsigned char ADCON0 __attribute__((address(0x01F))); +extern volatile unsigned char ADCON0 __at(0x01F); -__asm("ADCON0 equ 01Fh"); +asm("ADCON0 equ 01Fh"); typedef union { - struct { - unsigned ADON :1; - unsigned :1; - unsigned GO_nDONE :1; - unsigned CHS :3; - unsigned ADCS :2; - }; - struct { - unsigned :2; - unsigned GO :1; - unsigned CHS0 :1; - unsigned CHS1 :1; - unsigned CHS2 :1; - unsigned ADCS0 :1; - unsigned ADCS1 :1; - }; - struct { - unsigned :2; - unsigned nDONE :1; - }; - struct { - unsigned :2; - unsigned GO_DONE :1; - }; +struct { +unsigned ADON :1; +unsigned :1; +unsigned GO_nDONE :1; +unsigned CHS :3; +unsigned ADCS :2; +}; +struct { +unsigned :2; +unsigned GO :1; +unsigned CHS0 :1; +unsigned CHS1 :1; +unsigned CHS2 :1; +unsigned ADCS0 :1; +unsigned ADCS1 :1; +}; +struct { +unsigned :2; +unsigned nDONE :1; +}; +struct { +unsigned :2; +unsigned GO_DONE :1; +}; } ADCON0bits_t; -extern volatile ADCON0bits_t ADCON0bits __attribute__((address(0x01F))); -# 1255 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char OPTION_REG __attribute__((address(0x081))); +extern volatile ADCON0bits_t ADCON0bits __at(0x01F); -__asm("OPTION_REG equ 081h"); +# 1255 +extern volatile unsigned char OPTION_REG __at(0x081); + +asm("OPTION_REG equ 081h"); typedef union { - struct { - unsigned PS :3; - unsigned PSA :1; - unsigned T0SE :1; - unsigned T0CS :1; - unsigned INTEDG :1; - unsigned nRBPU :1; - }; - struct { - unsigned PS0 :1; - unsigned PS1 :1; - unsigned PS2 :1; - }; +struct { +unsigned PS :3; +unsigned PSA :1; +unsigned T0SE :1; +unsigned T0CS :1; +unsigned INTEDG :1; +unsigned nRBPU :1; +}; +struct { +unsigned PS0 :1; +unsigned PS1 :1; +unsigned PS2 :1; +}; } OPTION_REGbits_t; -extern volatile OPTION_REGbits_t OPTION_REGbits __attribute__((address(0x081))); -# 1325 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISA __attribute__((address(0x085))); +extern volatile OPTION_REGbits_t OPTION_REGbits __at(0x081); + +# 1325 +extern volatile unsigned char TRISA __at(0x085); -__asm("TRISA equ 085h"); +asm("TRISA equ 085h"); typedef union { - struct { - unsigned TRISA0 :1; - unsigned TRISA1 :1; - unsigned TRISA2 :1; - unsigned TRISA3 :1; - unsigned TRISA4 :1; - unsigned TRISA5 :1; - }; +struct { +unsigned TRISA0 :1; +unsigned TRISA1 :1; +unsigned TRISA2 :1; +unsigned TRISA3 :1; +unsigned TRISA4 :1; +unsigned TRISA5 :1; +}; } TRISAbits_t; -extern volatile TRISAbits_t TRISAbits __attribute__((address(0x085))); -# 1375 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISB __attribute__((address(0x086))); +extern volatile TRISAbits_t TRISAbits __at(0x085); + +# 1375 +extern volatile unsigned char TRISB __at(0x086); -__asm("TRISB equ 086h"); +asm("TRISB equ 086h"); typedef union { - struct { - unsigned TRISB0 :1; - unsigned TRISB1 :1; - unsigned TRISB2 :1; - unsigned TRISB3 :1; - unsigned TRISB4 :1; - unsigned TRISB5 :1; - unsigned TRISB6 :1; - unsigned TRISB7 :1; - }; +struct { +unsigned TRISB0 :1; +unsigned TRISB1 :1; +unsigned TRISB2 :1; +unsigned TRISB3 :1; +unsigned TRISB4 :1; +unsigned TRISB5 :1; +unsigned TRISB6 :1; +unsigned TRISB7 :1; +}; } TRISBbits_t; -extern volatile TRISBbits_t TRISBbits __attribute__((address(0x086))); -# 1437 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISC __attribute__((address(0x087))); +extern volatile TRISBbits_t TRISBbits __at(0x086); -__asm("TRISC equ 087h"); +# 1437 +extern volatile unsigned char TRISC __at(0x087); + +asm("TRISC equ 087h"); typedef union { - struct { - unsigned TRISC0 :1; - unsigned TRISC1 :1; - unsigned TRISC2 :1; - unsigned TRISC3 :1; - unsigned TRISC4 :1; - unsigned TRISC5 :1; - unsigned TRISC6 :1; - unsigned TRISC7 :1; - }; +struct { +unsigned TRISC0 :1; +unsigned TRISC1 :1; +unsigned TRISC2 :1; +unsigned TRISC3 :1; +unsigned TRISC4 :1; +unsigned TRISC5 :1; +unsigned TRISC6 :1; +unsigned TRISC7 :1; +}; } TRISCbits_t; -extern volatile TRISCbits_t TRISCbits __attribute__((address(0x087))); -# 1499 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISD __attribute__((address(0x088))); +extern volatile TRISCbits_t TRISCbits __at(0x087); + +# 1499 +extern volatile unsigned char TRISD __at(0x088); -__asm("TRISD equ 088h"); +asm("TRISD equ 088h"); typedef union { - struct { - unsigned TRISD0 :1; - unsigned TRISD1 :1; - unsigned TRISD2 :1; - unsigned TRISD3 :1; - unsigned TRISD4 :1; - unsigned TRISD5 :1; - unsigned TRISD6 :1; - unsigned TRISD7 :1; - }; +struct { +unsigned TRISD0 :1; +unsigned TRISD1 :1; +unsigned TRISD2 :1; +unsigned TRISD3 :1; +unsigned TRISD4 :1; +unsigned TRISD5 :1; +unsigned TRISD6 :1; +unsigned TRISD7 :1; +}; } TRISDbits_t; -extern volatile TRISDbits_t TRISDbits __attribute__((address(0x088))); -# 1561 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TRISE __attribute__((address(0x089))); +extern volatile TRISDbits_t TRISDbits __at(0x088); -__asm("TRISE equ 089h"); +# 1561 +extern volatile unsigned char TRISE __at(0x089); + +asm("TRISE equ 089h"); typedef union { - struct { - unsigned TRISE0 :1; - unsigned TRISE1 :1; - unsigned TRISE2 :1; - unsigned :1; - unsigned PSPMODE :1; - unsigned IBOV :1; - unsigned OBF :1; - unsigned IBF :1; - }; +struct { +unsigned TRISE0 :1; +unsigned TRISE1 :1; +unsigned TRISE2 :1; +unsigned :1; +unsigned PSPMODE :1; +unsigned IBOV :1; +unsigned OBF :1; +unsigned IBF :1; +}; } TRISEbits_t; -extern volatile TRISEbits_t TRISEbits __attribute__((address(0x089))); -# 1618 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIE1 __attribute__((address(0x08C))); +extern volatile TRISEbits_t TRISEbits __at(0x089); + +# 1618 +extern volatile unsigned char PIE1 __at(0x08C); -__asm("PIE1 equ 08Ch"); +asm("PIE1 equ 08Ch"); typedef union { - struct { - unsigned TMR1IE :1; - unsigned TMR2IE :1; - unsigned CCP1IE :1; - unsigned SSPIE :1; - unsigned TXIE :1; - unsigned RCIE :1; - unsigned ADIE :1; - unsigned PSPIE :1; - }; +struct { +unsigned TMR1IE :1; +unsigned TMR2IE :1; +unsigned CCP1IE :1; +unsigned SSPIE :1; +unsigned TXIE :1; +unsigned RCIE :1; +unsigned ADIE :1; +unsigned PSPIE :1; +}; } PIE1bits_t; -extern volatile PIE1bits_t PIE1bits __attribute__((address(0x08C))); -# 1680 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PIE2 __attribute__((address(0x08D))); +extern volatile PIE1bits_t PIE1bits __at(0x08C); -__asm("PIE2 equ 08Dh"); +# 1680 +extern volatile unsigned char PIE2 __at(0x08D); + +asm("PIE2 equ 08Dh"); typedef union { - struct { - unsigned CCP2IE :1; - unsigned :2; - unsigned BCLIE :1; - unsigned EEIE :1; - unsigned :1; - unsigned CMIE :1; - }; +struct { +unsigned CCP2IE :1; +unsigned :2; +unsigned BCLIE :1; +unsigned EEIE :1; +unsigned :1; +unsigned CMIE :1; +}; } PIE2bits_t; -extern volatile PIE2bits_t PIE2bits __attribute__((address(0x08D))); -# 1720 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PCON __attribute__((address(0x08E))); +extern volatile PIE2bits_t PIE2bits __at(0x08D); + +# 1720 +extern volatile unsigned char PCON __at(0x08E); -__asm("PCON equ 08Eh"); +asm("PCON equ 08Eh"); typedef union { - struct { - unsigned nBOR :1; - unsigned nPOR :1; - }; - struct { - unsigned nBO :1; - }; +struct { +unsigned nBOR :1; +unsigned nPOR :1; +}; +struct { +unsigned nBO :1; +}; } PCONbits_t; -extern volatile PCONbits_t PCONbits __attribute__((address(0x08E))); -# 1754 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char SSPCON2 __attribute__((address(0x091))); +extern volatile PCONbits_t PCONbits __at(0x08E); -__asm("SSPCON2 equ 091h"); +# 1754 +extern volatile unsigned char SSPCON2 __at(0x091); + +asm("SSPCON2 equ 091h"); typedef union { - struct { - unsigned SEN :1; - unsigned RSEN :1; - unsigned PEN :1; - unsigned RCEN :1; - unsigned ACKEN :1; - unsigned ACKDT :1; - unsigned ACKSTAT :1; - unsigned GCEN :1; - }; +struct { +unsigned SEN :1; +unsigned RSEN :1; +unsigned PEN :1; +unsigned RCEN :1; +unsigned ACKEN :1; +unsigned ACKDT :1; +unsigned ACKSTAT :1; +unsigned GCEN :1; +}; } SSPCON2bits_t; -extern volatile SSPCON2bits_t SSPCON2bits __attribute__((address(0x091))); -# 1816 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char PR2 __attribute__((address(0x092))); +extern volatile SSPCON2bits_t SSPCON2bits __at(0x091); + +# 1816 +extern volatile unsigned char PR2 __at(0x092); -__asm("PR2 equ 092h"); +asm("PR2 equ 092h"); -extern volatile unsigned char SSPADD __attribute__((address(0x093))); +extern volatile unsigned char SSPADD __at(0x093); -__asm("SSPADD equ 093h"); +asm("SSPADD equ 093h"); -extern volatile unsigned char SSPSTAT __attribute__((address(0x094))); +extern volatile unsigned char SSPSTAT __at(0x094); -__asm("SSPSTAT equ 094h"); +asm("SSPSTAT equ 094h"); typedef union { - struct { - unsigned BF :1; - unsigned UA :1; - unsigned R_nW :1; - unsigned S :1; - unsigned P :1; - unsigned D_nA :1; - unsigned CKE :1; - unsigned SMP :1; - }; - struct { - unsigned :2; - unsigned R :1; - unsigned :2; - unsigned D :1; - }; - struct { - unsigned :2; - unsigned I2C_READ :1; - unsigned I2C_START :1; - unsigned I2C_STOP :1; - unsigned I2C_DATA :1; - }; - struct { - unsigned :2; - unsigned nW :1; - unsigned :2; - unsigned nA :1; - }; - struct { - unsigned :2; - unsigned nWRITE :1; - unsigned :2; - unsigned nADDRESS :1; - }; - struct { - unsigned :2; - unsigned R_W :1; - unsigned :2; - unsigned D_A :1; - }; - struct { - unsigned :2; - unsigned READ_WRITE :1; - unsigned :2; - unsigned DATA_ADDRESS :1; - }; +struct { +unsigned BF :1; +unsigned UA :1; +unsigned R_nW :1; +unsigned S :1; +unsigned P :1; +unsigned D_nA :1; +unsigned CKE :1; +unsigned SMP :1; +}; +struct { +unsigned :2; +unsigned R :1; +unsigned :2; +unsigned D :1; +}; +struct { +unsigned :2; +unsigned I2C_READ :1; +unsigned I2C_START :1; +unsigned I2C_STOP :1; +unsigned I2C_DATA :1; +}; +struct { +unsigned :2; +unsigned nW :1; +unsigned :2; +unsigned nA :1; +}; +struct { +unsigned :2; +unsigned nWRITE :1; +unsigned :2; +unsigned nADDRESS :1; +}; +struct { +unsigned :2; +unsigned R_W :1; +unsigned :2; +unsigned D_A :1; +}; +struct { +unsigned :2; +unsigned READ_WRITE :1; +unsigned :2; +unsigned DATA_ADDRESS :1; +}; } SSPSTATbits_t; -extern volatile SSPSTATbits_t SSPSTATbits __attribute__((address(0x094))); -# 1999 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char TXSTA __attribute__((address(0x098))); +extern volatile SSPSTATbits_t SSPSTATbits __at(0x094); + +# 1999 +extern volatile unsigned char TXSTA __at(0x098); -__asm("TXSTA equ 098h"); +asm("TXSTA equ 098h"); typedef union { - struct { - unsigned TX9D :1; - unsigned TRMT :1; - unsigned BRGH :1; - unsigned :1; - unsigned SYNC :1; - unsigned TXEN :1; - unsigned TX9 :1; - unsigned CSRC :1; - }; - struct { - unsigned TXD8 :1; - unsigned :5; - unsigned nTX8 :1; - }; - struct { - unsigned :6; - unsigned TX8_9 :1; - }; +struct { +unsigned TX9D :1; +unsigned TRMT :1; +unsigned BRGH :1; +unsigned :1; +unsigned SYNC :1; +unsigned TXEN :1; +unsigned TX9 :1; +unsigned CSRC :1; +}; +struct { +unsigned TXD8 :1; +unsigned :5; +unsigned nTX8 :1; +}; +struct { +unsigned :6; +unsigned TX8_9 :1; +}; } TXSTAbits_t; -extern volatile TXSTAbits_t TXSTAbits __attribute__((address(0x098))); -# 2080 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char SPBRG __attribute__((address(0x099))); +extern volatile TXSTAbits_t TXSTAbits __at(0x098); -__asm("SPBRG equ 099h"); +# 2080 +extern volatile unsigned char SPBRG __at(0x099); +asm("SPBRG equ 099h"); -extern volatile unsigned char CMCON __attribute__((address(0x09C))); -__asm("CMCON equ 09Ch"); +extern volatile unsigned char CMCON __at(0x09C); + +asm("CMCON equ 09Ch"); typedef union { - struct { - unsigned CM :3; - unsigned CIS :1; - unsigned C1INV :1; - unsigned C2INV :1; - unsigned C1OUT :1; - unsigned C2OUT :1; - }; - struct { - unsigned CM0 :1; - unsigned CM1 :1; - unsigned CM2 :1; - }; +struct { +unsigned CM :3; +unsigned CIS :1; +unsigned C1INV :1; +unsigned C2INV :1; +unsigned C1OUT :1; +unsigned C2OUT :1; +}; +struct { +unsigned CM0 :1; +unsigned CM1 :1; +unsigned CM2 :1; +}; } CMCONbits_t; -extern volatile CMCONbits_t CMCONbits __attribute__((address(0x09C))); -# 2157 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char CVRCON __attribute__((address(0x09D))); +extern volatile CMCONbits_t CMCONbits __at(0x09C); + +# 2157 +extern volatile unsigned char CVRCON __at(0x09D); -__asm("CVRCON equ 09Dh"); +asm("CVRCON equ 09Dh"); typedef union { - struct { - unsigned CVR :4; - unsigned :1; - unsigned CVRR :1; - unsigned CVROE :1; - unsigned CVREN :1; - }; - struct { - unsigned CVR0 :1; - unsigned CVR1 :1; - unsigned CVR2 :1; - unsigned CVR3 :1; - }; +struct { +unsigned CVR :4; +unsigned :1; +unsigned CVRR :1; +unsigned CVROE :1; +unsigned CVREN :1; +}; +struct { +unsigned CVR0 :1; +unsigned CVR1 :1; +unsigned CVR2 :1; +unsigned CVR3 :1; +}; } CVRCONbits_t; -extern volatile CVRCONbits_t CVRCONbits __attribute__((address(0x09D))); -# 2222 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char ADRESL __attribute__((address(0x09E))); +extern volatile CVRCONbits_t CVRCONbits __at(0x09D); -__asm("ADRESL equ 09Eh"); +# 2222 +extern volatile unsigned char ADRESL __at(0x09E); +asm("ADRESL equ 09Eh"); -extern volatile unsigned char ADCON1 __attribute__((address(0x09F))); -__asm("ADCON1 equ 09Fh"); +extern volatile unsigned char ADCON1 __at(0x09F); + +asm("ADCON1 equ 09Fh"); typedef union { - struct { - unsigned PCFG :4; - unsigned :2; - unsigned ADCS2 :1; - unsigned ADFM :1; - }; - struct { - unsigned PCFG0 :1; - unsigned PCFG1 :1; - unsigned PCFG2 :1; - unsigned PCFG3 :1; - }; +struct { +unsigned PCFG :4; +unsigned :2; +unsigned ADCS2 :1; +unsigned ADFM :1; +}; +struct { +unsigned PCFG0 :1; +unsigned PCFG1 :1; +unsigned PCFG2 :1; +unsigned PCFG3 :1; +}; } ADCON1bits_t; -extern volatile ADCON1bits_t ADCON1bits __attribute__((address(0x09F))); -# 2288 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char EEDATA __attribute__((address(0x10C))); +extern volatile ADCON1bits_t ADCON1bits __at(0x09F); + +# 2288 +extern volatile unsigned char EEDATA __at(0x10C); -__asm("EEDATA equ 010Ch"); +asm("EEDATA equ 010Ch"); -extern volatile unsigned char EEADR __attribute__((address(0x10D))); +extern volatile unsigned char EEADR __at(0x10D); -__asm("EEADR equ 010Dh"); +asm("EEADR equ 010Dh"); -extern volatile unsigned char EEDATH __attribute__((address(0x10E))); +extern volatile unsigned char EEDATH __at(0x10E); -__asm("EEDATH equ 010Eh"); +asm("EEDATH equ 010Eh"); -extern volatile unsigned char EEADRH __attribute__((address(0x10F))); +extern volatile unsigned char EEADRH __at(0x10F); -__asm("EEADRH equ 010Fh"); +asm("EEADRH equ 010Fh"); -extern volatile unsigned char EECON1 __attribute__((address(0x18C))); +extern volatile unsigned char EECON1 __at(0x18C); -__asm("EECON1 equ 018Ch"); +asm("EECON1 equ 018Ch"); typedef union { - struct { - unsigned RD :1; - unsigned WR :1; - unsigned WREN :1; - unsigned WRERR :1; - unsigned :3; - unsigned EEPGD :1; - }; +struct { +unsigned RD :1; +unsigned WR :1; +unsigned WREN :1; +unsigned WRERR :1; +unsigned :3; +unsigned EEPGD :1; +}; } EECON1bits_t; -extern volatile EECON1bits_t EECON1bits __attribute__((address(0x18C))); -# 2361 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile unsigned char EECON2 __attribute__((address(0x18D))); +extern volatile EECON1bits_t EECON1bits __at(0x18C); + +# 2361 +extern volatile unsigned char EECON2 __at(0x18D); + +asm("EECON2 equ 018Dh"); -__asm("EECON2 equ 018Dh"); -# 2378 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\proc\\pic16f877a.h" 3 -extern volatile __bit ACKDT __attribute__((address(0x48D))); +# 2378 +extern volatile __bit ACKDT __at(0x48D); -extern volatile __bit ACKEN __attribute__((address(0x48C))); +extern volatile __bit ACKEN __at(0x48C); -extern volatile __bit ACKSTAT __attribute__((address(0x48E))); +extern volatile __bit ACKSTAT __at(0x48E); -extern volatile __bit ADCS0 __attribute__((address(0xFE))); +extern volatile __bit ADCS0 __at(0xFE); -extern volatile __bit ADCS1 __attribute__((address(0xFF))); +extern volatile __bit ADCS1 __at(0xFF); -extern volatile __bit ADCS2 __attribute__((address(0x4FE))); +extern volatile __bit ADCS2 __at(0x4FE); -extern volatile __bit ADDEN __attribute__((address(0xC3))); +extern volatile __bit ADDEN __at(0xC3); -extern volatile __bit ADFM __attribute__((address(0x4FF))); +extern volatile __bit ADFM __at(0x4FF); -extern volatile __bit ADIE __attribute__((address(0x466))); +extern volatile __bit ADIE __at(0x466); -extern volatile __bit ADIF __attribute__((address(0x66))); +extern volatile __bit ADIF __at(0x66); -extern volatile __bit ADON __attribute__((address(0xF8))); +extern volatile __bit ADON __at(0xF8); -extern volatile __bit BCLIE __attribute__((address(0x46B))); +extern volatile __bit BCLIE __at(0x46B); -extern volatile __bit BCLIF __attribute__((address(0x6B))); +extern volatile __bit BCLIF __at(0x6B); -extern volatile __bit BF __attribute__((address(0x4A0))); +extern volatile __bit BF __at(0x4A0); -extern volatile __bit BRGH __attribute__((address(0x4C2))); +extern volatile __bit BRGH __at(0x4C2); -extern volatile __bit C1INV __attribute__((address(0x4E4))); +extern volatile __bit C1INV __at(0x4E4); -extern volatile __bit C1OUT __attribute__((address(0x4E6))); +extern volatile __bit C1OUT __at(0x4E6); -extern volatile __bit C2INV __attribute__((address(0x4E5))); +extern volatile __bit C2INV __at(0x4E5); -extern volatile __bit C2OUT __attribute__((address(0x4E7))); +extern volatile __bit C2OUT __at(0x4E7); -extern volatile __bit CARRY __attribute__((address(0x18))); +extern volatile __bit CARRY __at(0x18); -extern volatile __bit CCP1IE __attribute__((address(0x462))); +extern volatile __bit CCP1IE __at(0x462); -extern volatile __bit CCP1IF __attribute__((address(0x62))); +extern volatile __bit CCP1IF __at(0x62); -extern volatile __bit CCP1M0 __attribute__((address(0xB8))); +extern volatile __bit CCP1M0 __at(0xB8); -extern volatile __bit CCP1M1 __attribute__((address(0xB9))); +extern volatile __bit CCP1M1 __at(0xB9); -extern volatile __bit CCP1M2 __attribute__((address(0xBA))); +extern volatile __bit CCP1M2 __at(0xBA); -extern volatile __bit CCP1M3 __attribute__((address(0xBB))); +extern volatile __bit CCP1M3 __at(0xBB); -extern volatile __bit CCP1X __attribute__((address(0xBD))); +extern volatile __bit CCP1X __at(0xBD); -extern volatile __bit CCP1Y __attribute__((address(0xBC))); +extern volatile __bit CCP1Y __at(0xBC); -extern volatile __bit CCP2IE __attribute__((address(0x468))); +extern volatile __bit CCP2IE __at(0x468); -extern volatile __bit CCP2IF __attribute__((address(0x68))); +extern volatile __bit CCP2IF __at(0x68); -extern volatile __bit CCP2M0 __attribute__((address(0xE8))); +extern volatile __bit CCP2M0 __at(0xE8); -extern volatile __bit CCP2M1 __attribute__((address(0xE9))); +extern volatile __bit CCP2M1 __at(0xE9); -extern volatile __bit CCP2M2 __attribute__((address(0xEA))); +extern volatile __bit CCP2M2 __at(0xEA); -extern volatile __bit CCP2M3 __attribute__((address(0xEB))); +extern volatile __bit CCP2M3 __at(0xEB); -extern volatile __bit CCP2X __attribute__((address(0xED))); +extern volatile __bit CCP2X __at(0xED); -extern volatile __bit CCP2Y __attribute__((address(0xEC))); +extern volatile __bit CCP2Y __at(0xEC); -extern volatile __bit CHS0 __attribute__((address(0xFB))); +extern volatile __bit CHS0 __at(0xFB); -extern volatile __bit CHS1 __attribute__((address(0xFC))); +extern volatile __bit CHS1 __at(0xFC); -extern volatile __bit CHS2 __attribute__((address(0xFD))); +extern volatile __bit CHS2 __at(0xFD); -extern volatile __bit CIS __attribute__((address(0x4E3))); +extern volatile __bit CIS __at(0x4E3); -extern volatile __bit CKE __attribute__((address(0x4A6))); +extern volatile __bit CKE __at(0x4A6); -extern volatile __bit CKP __attribute__((address(0xA4))); +extern volatile __bit CKP __at(0xA4); -extern volatile __bit CM0 __attribute__((address(0x4E0))); +extern volatile __bit CM0 __at(0x4E0); -extern volatile __bit CM1 __attribute__((address(0x4E1))); +extern volatile __bit CM1 __at(0x4E1); -extern volatile __bit CM2 __attribute__((address(0x4E2))); +extern volatile __bit CM2 __at(0x4E2); -extern volatile __bit CMIE __attribute__((address(0x46E))); +extern volatile __bit CMIE __at(0x46E); -extern volatile __bit CMIF __attribute__((address(0x6E))); +extern volatile __bit CMIF __at(0x6E); -extern volatile __bit CREN __attribute__((address(0xC4))); +extern volatile __bit CREN __at(0xC4); -extern volatile __bit CSRC __attribute__((address(0x4C7))); +extern volatile __bit CSRC __at(0x4C7); -extern volatile __bit CVR0 __attribute__((address(0x4E8))); +extern volatile __bit CVR0 __at(0x4E8); -extern volatile __bit CVR1 __attribute__((address(0x4E9))); +extern volatile __bit CVR1 __at(0x4E9); -extern volatile __bit CVR2 __attribute__((address(0x4EA))); +extern volatile __bit CVR2 __at(0x4EA); -extern volatile __bit CVR3 __attribute__((address(0x4EB))); +extern volatile __bit CVR3 __at(0x4EB); -extern volatile __bit CVREN __attribute__((address(0x4EF))); +extern volatile __bit CVREN __at(0x4EF); -extern volatile __bit CVROE __attribute__((address(0x4EE))); +extern volatile __bit CVROE __at(0x4EE); -extern volatile __bit CVRR __attribute__((address(0x4ED))); +extern volatile __bit CVRR __at(0x4ED); -extern volatile __bit DATA_ADDRESS __attribute__((address(0x4A5))); +extern volatile __bit DATA_ADDRESS __at(0x4A5); -extern volatile __bit DC __attribute__((address(0x19))); +extern volatile __bit DC __at(0x19); -extern volatile __bit D_A __attribute__((address(0x4A5))); +extern volatile __bit D_A __at(0x4A5); -extern volatile __bit D_nA __attribute__((address(0x4A5))); +extern volatile __bit D_nA __at(0x4A5); -extern volatile __bit EEIE __attribute__((address(0x46C))); +extern volatile __bit EEIE __at(0x46C); -extern volatile __bit EEIF __attribute__((address(0x6C))); +extern volatile __bit EEIF __at(0x6C); -extern volatile __bit EEPGD __attribute__((address(0xC67))); +extern volatile __bit EEPGD __at(0xC67); -extern volatile __bit FERR __attribute__((address(0xC2))); +extern volatile __bit FERR __at(0xC2); -extern volatile __bit GCEN __attribute__((address(0x48F))); +extern volatile __bit GCEN __at(0x48F); -extern volatile __bit GIE __attribute__((address(0x5F))); +extern volatile __bit GIE __at(0x5F); -extern volatile __bit GO __attribute__((address(0xFA))); +extern volatile __bit GO __at(0xFA); -extern volatile __bit GO_DONE __attribute__((address(0xFA))); +extern volatile __bit GO_DONE __at(0xFA); -extern volatile __bit GO_nDONE __attribute__((address(0xFA))); +extern volatile __bit GO_nDONE __at(0xFA); -extern volatile __bit I2C_DATA __attribute__((address(0x4A5))); +extern volatile __bit I2C_DATA __at(0x4A5); -extern volatile __bit I2C_READ __attribute__((address(0x4A2))); +extern volatile __bit I2C_READ __at(0x4A2); -extern volatile __bit I2C_START __attribute__((address(0x4A3))); +extern volatile __bit I2C_START __at(0x4A3); -extern volatile __bit I2C_STOP __attribute__((address(0x4A4))); +extern volatile __bit I2C_STOP __at(0x4A4); -extern volatile __bit IBF __attribute__((address(0x44F))); +extern volatile __bit IBF __at(0x44F); -extern volatile __bit IBOV __attribute__((address(0x44D))); +extern volatile __bit IBOV __at(0x44D); -extern volatile __bit INTE __attribute__((address(0x5C))); +extern volatile __bit INTE __at(0x5C); -extern volatile __bit INTEDG __attribute__((address(0x40E))); +extern volatile __bit INTEDG __at(0x40E); -extern volatile __bit INTF __attribute__((address(0x59))); +extern volatile __bit INTF __at(0x59); -extern volatile __bit IRP __attribute__((address(0x1F))); +extern volatile __bit IRP __at(0x1F); -extern volatile __bit OBF __attribute__((address(0x44E))); +extern volatile __bit OBF __at(0x44E); -extern volatile __bit OERR __attribute__((address(0xC1))); +extern volatile __bit OERR __at(0xC1); -extern volatile __bit PCFG0 __attribute__((address(0x4F8))); +extern volatile __bit PCFG0 __at(0x4F8); -extern volatile __bit PCFG1 __attribute__((address(0x4F9))); +extern volatile __bit PCFG1 __at(0x4F9); -extern volatile __bit PCFG2 __attribute__((address(0x4FA))); +extern volatile __bit PCFG2 __at(0x4FA); -extern volatile __bit PCFG3 __attribute__((address(0x4FB))); +extern volatile __bit PCFG3 __at(0x4FB); -extern volatile __bit PEIE __attribute__((address(0x5E))); +extern volatile __bit PEIE __at(0x5E); -extern volatile __bit PEN __attribute__((address(0x48A))); +extern volatile __bit PEN __at(0x48A); -extern volatile __bit PS0 __attribute__((address(0x408))); +extern volatile __bit PS0 __at(0x408); -extern volatile __bit PS1 __attribute__((address(0x409))); +extern volatile __bit PS1 __at(0x409); -extern volatile __bit PS2 __attribute__((address(0x40A))); +extern volatile __bit PS2 __at(0x40A); -extern volatile __bit PSA __attribute__((address(0x40B))); +extern volatile __bit PSA __at(0x40B); -extern volatile __bit PSPIE __attribute__((address(0x467))); +extern volatile __bit PSPIE __at(0x467); -extern volatile __bit PSPIF __attribute__((address(0x67))); +extern volatile __bit PSPIF __at(0x67); -extern volatile __bit PSPMODE __attribute__((address(0x44C))); +extern volatile __bit PSPMODE __at(0x44C); -extern volatile __bit RA0 __attribute__((address(0x28))); +extern volatile __bit RA0 __at(0x28); -extern volatile __bit RA1 __attribute__((address(0x29))); +extern volatile __bit RA1 __at(0x29); -extern volatile __bit RA2 __attribute__((address(0x2A))); +extern volatile __bit RA2 __at(0x2A); -extern volatile __bit RA3 __attribute__((address(0x2B))); +extern volatile __bit RA3 __at(0x2B); -extern volatile __bit RA4 __attribute__((address(0x2C))); +extern volatile __bit RA4 __at(0x2C); -extern volatile __bit RA5 __attribute__((address(0x2D))); +extern volatile __bit RA5 __at(0x2D); -extern volatile __bit RB0 __attribute__((address(0x30))); +extern volatile __bit RB0 __at(0x30); -extern volatile __bit RB1 __attribute__((address(0x31))); +extern volatile __bit RB1 __at(0x31); -extern volatile __bit RB2 __attribute__((address(0x32))); +extern volatile __bit RB2 __at(0x32); -extern volatile __bit RB3 __attribute__((address(0x33))); +extern volatile __bit RB3 __at(0x33); -extern volatile __bit RB4 __attribute__((address(0x34))); +extern volatile __bit RB4 __at(0x34); -extern volatile __bit RB5 __attribute__((address(0x35))); +extern volatile __bit RB5 __at(0x35); -extern volatile __bit RB6 __attribute__((address(0x36))); +extern volatile __bit RB6 __at(0x36); -extern volatile __bit RB7 __attribute__((address(0x37))); +extern volatile __bit RB7 __at(0x37); -extern volatile __bit RBIE __attribute__((address(0x5B))); +extern volatile __bit RBIE __at(0x5B); -extern volatile __bit RBIF __attribute__((address(0x58))); +extern volatile __bit RBIF __at(0x58); -extern volatile __bit RC0 __attribute__((address(0x38))); +extern volatile __bit RC0 __at(0x38); -extern volatile __bit RC1 __attribute__((address(0x39))); +extern volatile __bit RC1 __at(0x39); -extern volatile __bit RC2 __attribute__((address(0x3A))); +extern volatile __bit RC2 __at(0x3A); -extern volatile __bit RC3 __attribute__((address(0x3B))); +extern volatile __bit RC3 __at(0x3B); -extern volatile __bit RC4 __attribute__((address(0x3C))); +extern volatile __bit RC4 __at(0x3C); -extern volatile __bit RC5 __attribute__((address(0x3D))); +extern volatile __bit RC5 __at(0x3D); -extern volatile __bit RC6 __attribute__((address(0x3E))); +extern volatile __bit RC6 __at(0x3E); -extern volatile __bit RC7 __attribute__((address(0x3F))); +extern volatile __bit RC7 __at(0x3F); -extern volatile __bit RC8_9 __attribute__((address(0xC6))); +extern volatile __bit RC8_9 __at(0xC6); -extern volatile __bit RC9 __attribute__((address(0xC6))); +extern volatile __bit RC9 __at(0xC6); -extern volatile __bit RCD8 __attribute__((address(0xC0))); +extern volatile __bit RCD8 __at(0xC0); -extern volatile __bit RCEN __attribute__((address(0x48B))); +extern volatile __bit RCEN __at(0x48B); -extern volatile __bit RCIE __attribute__((address(0x465))); +extern volatile __bit RCIE __at(0x465); -extern volatile __bit RCIF __attribute__((address(0x65))); +extern volatile __bit RCIF __at(0x65); -extern volatile __bit RD __attribute__((address(0xC60))); +extern volatile __bit RD __at(0xC60); -extern volatile __bit RD0 __attribute__((address(0x40))); +extern volatile __bit RD0 __at(0x40); -extern volatile __bit RD1 __attribute__((address(0x41))); +extern volatile __bit RD1 __at(0x41); -extern volatile __bit RD2 __attribute__((address(0x42))); +extern volatile __bit RD2 __at(0x42); -extern volatile __bit RD3 __attribute__((address(0x43))); +extern volatile __bit RD3 __at(0x43); -extern volatile __bit RD4 __attribute__((address(0x44))); +extern volatile __bit RD4 __at(0x44); -extern volatile __bit RD5 __attribute__((address(0x45))); +extern volatile __bit RD5 __at(0x45); -extern volatile __bit RD6 __attribute__((address(0x46))); +extern volatile __bit RD6 __at(0x46); -extern volatile __bit RD7 __attribute__((address(0x47))); +extern volatile __bit RD7 __at(0x47); -extern volatile __bit RE0 __attribute__((address(0x48))); +extern volatile __bit RE0 __at(0x48); -extern volatile __bit RE1 __attribute__((address(0x49))); +extern volatile __bit RE1 __at(0x49); -extern volatile __bit RE2 __attribute__((address(0x4A))); +extern volatile __bit RE2 __at(0x4A); -extern volatile __bit READ_WRITE __attribute__((address(0x4A2))); +extern volatile __bit READ_WRITE __at(0x4A2); -extern volatile __bit RP0 __attribute__((address(0x1D))); +extern volatile __bit RP0 __at(0x1D); -extern volatile __bit RP1 __attribute__((address(0x1E))); +extern volatile __bit RP1 __at(0x1E); -extern volatile __bit RSEN __attribute__((address(0x489))); +extern volatile __bit RSEN __at(0x489); -extern volatile __bit RX9 __attribute__((address(0xC6))); +extern volatile __bit RX9 __at(0xC6); -extern volatile __bit RX9D __attribute__((address(0xC0))); +extern volatile __bit RX9D __at(0xC0); -extern volatile __bit R_W __attribute__((address(0x4A2))); +extern volatile __bit R_W __at(0x4A2); -extern volatile __bit R_nW __attribute__((address(0x4A2))); +extern volatile __bit R_nW __at(0x4A2); -extern volatile __bit SEN __attribute__((address(0x488))); +extern volatile __bit SEN __at(0x488); -extern volatile __bit SMP __attribute__((address(0x4A7))); +extern volatile __bit SMP __at(0x4A7); -extern volatile __bit SPEN __attribute__((address(0xC7))); +extern volatile __bit SPEN __at(0xC7); -extern volatile __bit SREN __attribute__((address(0xC5))); +extern volatile __bit SREN __at(0xC5); -extern volatile __bit SSPEN __attribute__((address(0xA5))); +extern volatile __bit SSPEN __at(0xA5); -extern volatile __bit SSPIE __attribute__((address(0x463))); +extern volatile __bit SSPIE __at(0x463); -extern volatile __bit SSPIF __attribute__((address(0x63))); +extern volatile __bit SSPIF __at(0x63); -extern volatile __bit SSPM0 __attribute__((address(0xA0))); +extern volatile __bit SSPM0 __at(0xA0); -extern volatile __bit SSPM1 __attribute__((address(0xA1))); +extern volatile __bit SSPM1 __at(0xA1); -extern volatile __bit SSPM2 __attribute__((address(0xA2))); +extern volatile __bit SSPM2 __at(0xA2); -extern volatile __bit SSPM3 __attribute__((address(0xA3))); +extern volatile __bit SSPM3 __at(0xA3); -extern volatile __bit SSPOV __attribute__((address(0xA6))); +extern volatile __bit SSPOV __at(0xA6); -extern volatile __bit SYNC __attribute__((address(0x4C4))); +extern volatile __bit SYNC __at(0x4C4); -extern volatile __bit T0CS __attribute__((address(0x40D))); +extern volatile __bit T0CS __at(0x40D); -extern volatile __bit T0IE __attribute__((address(0x5D))); +extern volatile __bit T0IE __at(0x5D); -extern volatile __bit T0IF __attribute__((address(0x5A))); +extern volatile __bit T0IF __at(0x5A); -extern volatile __bit T0SE __attribute__((address(0x40C))); +extern volatile __bit T0SE __at(0x40C); -extern volatile __bit T1CKPS0 __attribute__((address(0x84))); +extern volatile __bit T1CKPS0 __at(0x84); -extern volatile __bit T1CKPS1 __attribute__((address(0x85))); +extern volatile __bit T1CKPS1 __at(0x85); -extern volatile __bit T1INSYNC __attribute__((address(0x82))); +extern volatile __bit T1INSYNC __at(0x82); -extern volatile __bit T1OSCEN __attribute__((address(0x83))); +extern volatile __bit T1OSCEN __at(0x83); -extern volatile __bit T1SYNC __attribute__((address(0x82))); +extern volatile __bit T1SYNC __at(0x82); -extern volatile __bit T2CKPS0 __attribute__((address(0x90))); +extern volatile __bit T2CKPS0 __at(0x90); -extern volatile __bit T2CKPS1 __attribute__((address(0x91))); +extern volatile __bit T2CKPS1 __at(0x91); -extern volatile __bit TMR0IE __attribute__((address(0x5D))); +extern volatile __bit TMR0IE __at(0x5D); -extern volatile __bit TMR0IF __attribute__((address(0x5A))); +extern volatile __bit TMR0IF __at(0x5A); -extern volatile __bit TMR1CS __attribute__((address(0x81))); +extern volatile __bit TMR1CS __at(0x81); -extern volatile __bit TMR1IE __attribute__((address(0x460))); +extern volatile __bit TMR1IE __at(0x460); -extern volatile __bit TMR1IF __attribute__((address(0x60))); +extern volatile __bit TMR1IF __at(0x60); -extern volatile __bit TMR1ON __attribute__((address(0x80))); +extern volatile __bit TMR1ON __at(0x80); -extern volatile __bit TMR2IE __attribute__((address(0x461))); +extern volatile __bit TMR2IE __at(0x461); -extern volatile __bit TMR2IF __attribute__((address(0x61))); +extern volatile __bit TMR2IF __at(0x61); -extern volatile __bit TMR2ON __attribute__((address(0x92))); +extern volatile __bit TMR2ON __at(0x92); -extern volatile __bit TOUTPS0 __attribute__((address(0x93))); +extern volatile __bit TOUTPS0 __at(0x93); -extern volatile __bit TOUTPS1 __attribute__((address(0x94))); +extern volatile __bit TOUTPS1 __at(0x94); -extern volatile __bit TOUTPS2 __attribute__((address(0x95))); +extern volatile __bit TOUTPS2 __at(0x95); -extern volatile __bit TOUTPS3 __attribute__((address(0x96))); +extern volatile __bit TOUTPS3 __at(0x96); -extern volatile __bit TRISA0 __attribute__((address(0x428))); +extern volatile __bit TRISA0 __at(0x428); -extern volatile __bit TRISA1 __attribute__((address(0x429))); +extern volatile __bit TRISA1 __at(0x429); -extern volatile __bit TRISA2 __attribute__((address(0x42A))); +extern volatile __bit TRISA2 __at(0x42A); -extern volatile __bit TRISA3 __attribute__((address(0x42B))); +extern volatile __bit TRISA3 __at(0x42B); -extern volatile __bit TRISA4 __attribute__((address(0x42C))); +extern volatile __bit TRISA4 __at(0x42C); -extern volatile __bit TRISA5 __attribute__((address(0x42D))); +extern volatile __bit TRISA5 __at(0x42D); -extern volatile __bit TRISB0 __attribute__((address(0x430))); +extern volatile __bit TRISB0 __at(0x430); -extern volatile __bit TRISB1 __attribute__((address(0x431))); +extern volatile __bit TRISB1 __at(0x431); -extern volatile __bit TRISB2 __attribute__((address(0x432))); +extern volatile __bit TRISB2 __at(0x432); -extern volatile __bit TRISB3 __attribute__((address(0x433))); +extern volatile __bit TRISB3 __at(0x433); -extern volatile __bit TRISB4 __attribute__((address(0x434))); +extern volatile __bit TRISB4 __at(0x434); -extern volatile __bit TRISB5 __attribute__((address(0x435))); +extern volatile __bit TRISB5 __at(0x435); -extern volatile __bit TRISB6 __attribute__((address(0x436))); +extern volatile __bit TRISB6 __at(0x436); -extern volatile __bit TRISB7 __attribute__((address(0x437))); +extern volatile __bit TRISB7 __at(0x437); -extern volatile __bit TRISC0 __attribute__((address(0x438))); +extern volatile __bit TRISC0 __at(0x438); -extern volatile __bit TRISC1 __attribute__((address(0x439))); +extern volatile __bit TRISC1 __at(0x439); -extern volatile __bit TRISC2 __attribute__((address(0x43A))); +extern volatile __bit TRISC2 __at(0x43A); -extern volatile __bit TRISC3 __attribute__((address(0x43B))); +extern volatile __bit TRISC3 __at(0x43B); -extern volatile __bit TRISC4 __attribute__((address(0x43C))); +extern volatile __bit TRISC4 __at(0x43C); -extern volatile __bit TRISC5 __attribute__((address(0x43D))); +extern volatile __bit TRISC5 __at(0x43D); -extern volatile __bit TRISC6 __attribute__((address(0x43E))); +extern volatile __bit TRISC6 __at(0x43E); -extern volatile __bit TRISC7 __attribute__((address(0x43F))); +extern volatile __bit TRISC7 __at(0x43F); -extern volatile __bit TRISD0 __attribute__((address(0x440))); +extern volatile __bit TRISD0 __at(0x440); -extern volatile __bit TRISD1 __attribute__((address(0x441))); +extern volatile __bit TRISD1 __at(0x441); -extern volatile __bit TRISD2 __attribute__((address(0x442))); +extern volatile __bit TRISD2 __at(0x442); -extern volatile __bit TRISD3 __attribute__((address(0x443))); +extern volatile __bit TRISD3 __at(0x443); -extern volatile __bit TRISD4 __attribute__((address(0x444))); +extern volatile __bit TRISD4 __at(0x444); -extern volatile __bit TRISD5 __attribute__((address(0x445))); +extern volatile __bit TRISD5 __at(0x445); -extern volatile __bit TRISD6 __attribute__((address(0x446))); +extern volatile __bit TRISD6 __at(0x446); -extern volatile __bit TRISD7 __attribute__((address(0x447))); +extern volatile __bit TRISD7 __at(0x447); -extern volatile __bit TRISE0 __attribute__((address(0x448))); +extern volatile __bit TRISE0 __at(0x448); -extern volatile __bit TRISE1 __attribute__((address(0x449))); +extern volatile __bit TRISE1 __at(0x449); -extern volatile __bit TRISE2 __attribute__((address(0x44A))); +extern volatile __bit TRISE2 __at(0x44A); -extern volatile __bit TRMT __attribute__((address(0x4C1))); +extern volatile __bit TRMT __at(0x4C1); -extern volatile __bit TX8_9 __attribute__((address(0x4C6))); +extern volatile __bit TX8_9 __at(0x4C6); -extern volatile __bit TX9 __attribute__((address(0x4C6))); +extern volatile __bit TX9 __at(0x4C6); -extern volatile __bit TX9D __attribute__((address(0x4C0))); +extern volatile __bit TX9D __at(0x4C0); -extern volatile __bit TXD8 __attribute__((address(0x4C0))); +extern volatile __bit TXD8 __at(0x4C0); -extern volatile __bit TXEN __attribute__((address(0x4C5))); +extern volatile __bit TXEN __at(0x4C5); -extern volatile __bit TXIE __attribute__((address(0x464))); +extern volatile __bit TXIE __at(0x464); -extern volatile __bit TXIF __attribute__((address(0x64))); +extern volatile __bit TXIF __at(0x64); -extern volatile __bit UA __attribute__((address(0x4A1))); +extern volatile __bit UA __at(0x4A1); -extern volatile __bit WCOL __attribute__((address(0xA7))); +extern volatile __bit WCOL __at(0xA7); -extern volatile __bit WR __attribute__((address(0xC61))); +extern volatile __bit WR __at(0xC61); -extern volatile __bit WREN __attribute__((address(0xC62))); +extern volatile __bit WREN __at(0xC62); -extern volatile __bit WRERR __attribute__((address(0xC63))); +extern volatile __bit WRERR __at(0xC63); -extern volatile __bit ZERO __attribute__((address(0x1A))); +extern volatile __bit ZERO __at(0x1A); -extern volatile __bit nA __attribute__((address(0x4A5))); +extern volatile __bit nA __at(0x4A5); -extern volatile __bit nADDRESS __attribute__((address(0x4A5))); +extern volatile __bit nADDRESS __at(0x4A5); -extern volatile __bit nBO __attribute__((address(0x470))); +extern volatile __bit nBO __at(0x470); -extern volatile __bit nBOR __attribute__((address(0x470))); +extern volatile __bit nBOR __at(0x470); -extern volatile __bit nDONE __attribute__((address(0xFA))); +extern volatile __bit nDONE __at(0xFA); -extern volatile __bit nPD __attribute__((address(0x1B))); +extern volatile __bit nPD __at(0x1B); -extern volatile __bit nPOR __attribute__((address(0x471))); +extern volatile __bit nPOR __at(0x471); -extern volatile __bit nRBPU __attribute__((address(0x40F))); +extern volatile __bit nRBPU __at(0x40F); -extern volatile __bit nRC8 __attribute__((address(0xC6))); +extern volatile __bit nRC8 __at(0xC6); -extern volatile __bit nT1SYNC __attribute__((address(0x82))); +extern volatile __bit nT1SYNC __at(0x82); -extern volatile __bit nTO __attribute__((address(0x1C))); +extern volatile __bit nTO __at(0x1C); -extern volatile __bit nTX8 __attribute__((address(0x4C6))); +extern volatile __bit nTX8 __at(0x4C6); -extern volatile __bit nW __attribute__((address(0x4A2))); +extern volatile __bit nW __at(0x4A2); -extern volatile __bit nWRITE __attribute__((address(0x4A2))); -# 665 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic_chip_select.h" 2 3 -# 14 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 2 3 -# 76 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 3 +extern volatile __bit nWRITE __at(0x4A2); + +# 76 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\pic.h" __attribute__((__unsupported__("The " "FLASH_READ" " macro function is no longer supported. Please use the MPLAB X MCC."))) unsigned char __flash_read(unsigned short addr); __attribute__((__unsupported__("The " "FLASH_WRITE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_write(unsigned short addr, unsigned short data); __attribute__((__unsupported__("The " "FLASH_ERASE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_erase(unsigned short addr); - - -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\eeprom_routines.h" 1 3 -# 114 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\include\\eeprom_routines.h" 3 +# 114 "C:\Program Files\Microchip\xc8\v2.45\pic\include\eeprom_routines.h" extern void eeprom_write(unsigned char addr, unsigned char value); extern unsigned char eeprom_read(unsigned char addr); -# 84 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 2 3 -# 118 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\pic.h" 3 + +# 118 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\pic.h" extern __bank0 unsigned char __resetbits; extern __bank0 __bit __powerdown; extern __bank0 __bit __timeout; -# 29 "C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\\pic\\include\\xc.h" 2 3 -# 1 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\sources\\c99\\pic\\__eeprom.c" 2 - - - +# 5 "C:\Program Files\Microchip\xc8\v2.45\pic\sources\c90\pic\__eeprom.c" void __eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) { - volatile unsigned char *cp = to; +volatile unsigned char *cp = to; - while (EECON1bits.WR) continue; - EEADR = (unsigned char)from; - while(size--) { - while (EECON1bits.WR) continue; +while (EECON1bits.WR) continue; +EEADR = (unsigned char)from; +while(size--) { +while (EECON1bits.WR) continue; - EECON1 &= 0x7F; +EECON1 &= 0x7F; + +EECON1bits.RD = 1; +*cp++ = EEDATA; +++EEADR; +} - EECON1bits.RD = 1; - *cp++ = EEDATA; - ++EEADR; - } -# 36 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\sources\\c99\\pic\\__eeprom.c" +# 36 } void __memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) { - const unsigned char *ptr =from; - - while (EECON1bits.WR) continue; - EEADR = (unsigned char)to - 1U; - - EECON1 &= 0x7F; - - while(size--) { - while (EECON1bits.WR) { - continue; - } - EEDATA = *ptr++; - ++EEADR; - STATUSbits.CARRY = 0; - if (INTCONbits.GIE) { - STATUSbits.CARRY = 1; - } - INTCONbits.GIE = 0; - EECON1bits.WREN = 1; - EECON2 = 0x55; - EECON2 = 0xAA; - EECON1bits.WR = 1; - EECON1bits.WREN = 0; - if (STATUSbits.CARRY) { - INTCONbits.GIE = 1; - } - } -# 101 "C:\\Program Files\\Microchip\\xc8\\v2.45\\pic\\sources\\c99\\pic\\__eeprom.c" +const unsigned char *ptr =from; + +while (EECON1bits.WR) continue; +EEADR = (unsigned char)to - 1U; + +EECON1 &= 0x7F; + +while(size--) { +while (EECON1bits.WR) { +continue; +} +EEDATA = *ptr++; +++EEADR; +STATUSbits.CARRY = 0; +if (INTCONbits.GIE) { +STATUSbits.CARRY = 1; +} +INTCONbits.GIE = 0; +EECON1bits.WREN = 1; +EECON2 = 0x55; +EECON2 = 0xAA; +EECON1bits.WR = 1; +EECON1bits.WREN = 0; +if (STATUSbits.CARRY) { +INTCONbits.GIE = 1; +} +} + +# 101 } unsigned char __eetoc(__eeprom void *addr) { - unsigned char data; - __eecpymem((unsigned char *) &data,addr,1); - return data; +unsigned char data; +__eecpymem((unsigned char *) &data,addr,1); +return data; } unsigned int __eetoi(__eeprom void *addr) { - unsigned int data; - __eecpymem((unsigned char *) &data,addr,2); - return data; +unsigned int data; +__eecpymem((unsigned char *) &data,addr,2); +return data; } #pragma warning push @@ -1973,18 +1864,18 @@ __eetoi(__eeprom void *addr) __uint24 __eetom(__eeprom void *addr) { - __uint24 data; - __eecpymem((unsigned char *) &data,addr,3); - return data; +__uint24 data; +__eecpymem((unsigned char *) &data,addr,3); +return data; } #pragma warning pop unsigned long __eetol(__eeprom void *addr) { - unsigned long data; - __eecpymem((unsigned char *) &data,addr,4); - return data; +unsigned long data; +__eecpymem((unsigned char *) &data,addr,4); +return data; } #pragma warning push @@ -1992,24 +1883,24 @@ __eetol(__eeprom void *addr) unsigned long long __eetoo(__eeprom void *addr) { - unsigned long long data; - __eecpymem((unsigned char *) &data,addr,8); - return data; +unsigned long long data; +__eecpymem((unsigned char *) &data,addr,8); +return data; } #pragma warning pop unsigned char __ctoee(__eeprom void *addr, unsigned char data) { - __memcpyee(addr,(unsigned char *) &data,1); - return data; +__memcpyee(addr,(unsigned char *) &data,1); +return data; } unsigned int __itoee(__eeprom void *addr, unsigned int data) { - __memcpyee(addr,(unsigned char *) &data,2); - return data; +__memcpyee(addr,(unsigned char *) &data,2); +return data; } #pragma warning push @@ -2017,16 +1908,16 @@ __itoee(__eeprom void *addr, unsigned int data) __uint24 __mtoee(__eeprom void *addr, __uint24 data) { - __memcpyee(addr,(unsigned char *) &data,3); - return data; +__memcpyee(addr,(unsigned char *) &data,3); +return data; } #pragma warning pop unsigned long __ltoee(__eeprom void *addr, unsigned long data) { - __memcpyee(addr,(unsigned char *) &data,4); - return data; +__memcpyee(addr,(unsigned char *) &data,4); +return data; } #pragma warning push @@ -2034,37 +1925,38 @@ __ltoee(__eeprom void *addr, unsigned long data) unsigned long long __otoee(__eeprom void *addr, unsigned long long data) { - __memcpyee(addr,(unsigned char *) &data,8); - return data; +__memcpyee(addr,(unsigned char *) &data,8); +return data; } #pragma warning pop float __eetoft(__eeprom void *addr) { - float data; - __eecpymem((unsigned char *) &data,addr,3); - return data; +float data; +__eecpymem((unsigned char *) &data,addr,3); +return data; } double __eetofl(__eeprom void *addr) { - double data; - __eecpymem((unsigned char *) &data,addr,4); - return data; +double data; +__eecpymem((unsigned char *) &data,addr,4); +return data; } float __fttoee(__eeprom void *addr, float data) { - __memcpyee(addr,(unsigned char *) &data,3); - return data; +__memcpyee(addr,(unsigned char *) &data,3); +return data; } double __fltoee(__eeprom void *addr, double data) { - __memcpyee(addr,(unsigned char *) &data,4); - return data; +__memcpyee(addr,(unsigned char *) &data,4); +return data; } + diff --git a/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.p1 b/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.p1 index f2d79ed..cc9710a 100644 --- a/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.p1 +++ b/MPLABX Projects/TimerInterrupt.X/dist/default/production/__eeprom.p1 @@ -1,507 +1,1317 @@ -Version 4.0 HI-TECH Software Intermediate Code +Version 3.2 HI-TECH Software Intermediate Code "2322 C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2322: struct { -[s S98 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :3 `uc 1 :1 `uc 1 ] -[n S98 . RD WR WREN WRERR . EEPGD ] +[s S94 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :3 `uc 1 :1 `uc 1 ] +[n S94 . RD WR WREN WRERR . EEPGD ] "2321 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2321: typedef union { -[u S97 `S98 1 ] -[n S97 . . ] +[u S93 `S94 1 ] +[n S93 . . ] "2331 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2331: extern volatile EECON1bits_t EECON1bits __attribute__((address(0x18C))); -[v _EECON1bits `VS97 ~T0 @X0 0 e@396 ] +[v _EECON1bits `VS93 ~T0 @X0 0 e@396 ] "2295 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2295: extern volatile unsigned char EEADR __attribute__((address(0x10D))); [v _EEADR `Vuc ~T0 @X0 0 e@269 ] "2316 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2316: extern volatile unsigned char EECON1 __attribute__((address(0x18C))); [v _EECON1 `Vuc ~T0 @X0 0 e@396 ] "2288 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2288: extern volatile unsigned char EEDATA __attribute__((address(0x10C))); [v _EEDATA `Vuc ~T0 @X0 0 e@268 ] "79 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 79: struct { -[s S6 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] -[n S6 . C DC Z nPD nTO RP IRP ] +[s S2 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] +[n S2 . C DC Z nPD nTO RP IRP ] "88 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 88: struct { -[s S7 :5 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S7 . . RP0 RP1 ] +[s S3 :5 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S3 . . RP0 RP1 ] "93 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 93: struct { -[s S8 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S8 . CARRY . ZERO ] +[s S4 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S4 . CARRY . ZERO ] "78 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 78: typedef union { -[u S5 `S6 1 `S7 1 `S8 1 ] -[n S5 . . . . ] +[u S1 `S2 1 `S3 1 `S4 1 ] +[n S1 . . . . ] "99 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 99: extern volatile STATUSbits_t STATUSbits __attribute__((address(0x003))); -[v _STATUSbits `VS5 ~T0 @X0 0 e@3 ] +[v _STATUSbits `VS1 ~T0 @X0 0 e@3 ] "460 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 460: struct { -[s S22 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] -[n S22 . RBIF INTF TMR0IF RBIE INTE TMR0IE PEIE GIE ] +[s S18 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S18 . RBIF INTF TMR0IF RBIE INTE TMR0IE PEIE GIE ] "470 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 470: struct { -[s S23 :2 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] -[n S23 . . T0IF . T0IE ] +[s S19 :2 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] +[n S19 . . T0IF . T0IE ] "459 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 459: typedef union { -[u S21 `S22 1 `S23 1 ] -[n S21 . . . ] +[u S17 `S18 1 `S19 1 ] +[n S17 . . . ] "477 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 477: extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); -[v _INTCONbits `VS21 ~T0 @X0 0 e@11 ] +[v _INTCONbits `VS17 ~T0 @X0 0 e@11 ] "2361 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2361: extern volatile unsigned char EECON2 __attribute__((address(0x18D))); [v _EECON2 `Vuc ~T0 @X0 0 e@397 ] +[; ;xc8\pic\include\xc.h: 18: extern const char __xc8_OPTIM_SPEED; +[; ;xc8\pic\include\xc.h: 20: extern double __fpnormalize(double); +[; ;xc8debug.h: 14: extern void __builtin_software_breakpoint(void); +[; ;stdint.h: 13: typedef signed char int8_t; +[; ;stdint.h: 20: typedef signed int int16_t; +[; ;stdint.h: 28: typedef __int24 int24_t; +[; ;stdint.h: 36: typedef signed long int int32_t; +[; ;stdint.h: 52: typedef unsigned char uint8_t; +[; ;stdint.h: 58: typedef unsigned int uint16_t; +[; ;stdint.h: 65: typedef __uint24 uint24_t; +[; ;stdint.h: 72: typedef unsigned long int uint32_t; +[; ;stdint.h: 88: typedef signed char int_least8_t; +[; ;stdint.h: 96: typedef signed int int_least16_t; +[; ;stdint.h: 109: typedef __int24 int_least24_t; +[; ;stdint.h: 118: typedef signed long int int_least32_t; +[; ;stdint.h: 136: typedef unsigned char uint_least8_t; +[; ;stdint.h: 143: typedef unsigned int uint_least16_t; +[; ;stdint.h: 154: typedef __uint24 uint_least24_t; +[; ;stdint.h: 162: typedef unsigned long int uint_least32_t; +[; ;stdint.h: 181: typedef signed char int_fast8_t; +[; ;stdint.h: 188: typedef signed int int_fast16_t; +[; ;stdint.h: 200: typedef __int24 int_fast24_t; +[; ;stdint.h: 208: typedef signed long int int_fast32_t; +[; ;stdint.h: 224: typedef unsigned char uint_fast8_t; +[; ;stdint.h: 230: typedef unsigned int uint_fast16_t; +[; ;stdint.h: 240: typedef __uint24 uint_fast24_t; +[; ;stdint.h: 247: typedef unsigned long int uint_fast32_t; +[; ;stdint.h: 268: typedef int32_t intmax_t; +[; ;stdint.h: 282: typedef uint32_t uintmax_t; +[; ;stdint.h: 289: typedef int16_t intptr_t; +[; ;stdint.h: 294: typedef uint16_t uintptr_t; +[; ;xc8\pic\include\builtins.h: 8: extern void __nop(void); +[; ;xc8\pic\include\builtins.h: 12: extern __nonreentrant void _delay(uint32_t); +[; ;xc8\pic\include\builtins.h: 14: extern __nonreentrant void _delaywdt(uint32_t); +[; ;xc8\pic\include\proc\pic16f877a.h: 52: extern volatile unsigned char INDF __at(0x000); "54 C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 54: __asm("INDF equ 00h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 54: asm("INDF equ 00h"); [; <" INDF equ 00h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 59: extern volatile unsigned char TMR0 __at(0x001); "61 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 61: __asm("TMR0 equ 01h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 61: asm("TMR0 equ 01h"); [; <" TMR0 equ 01h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 66: extern volatile unsigned char PCL __at(0x002); "68 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 68: __asm("PCL equ 02h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 68: asm("PCL equ 02h"); [; <" PCL equ 02h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 73: extern volatile unsigned char STATUS __at(0x003); "75 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 75: __asm("STATUS equ 03h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 75: asm("STATUS equ 03h"); [; <" STATUS equ 03h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 78: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 79: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 80: unsigned C :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 81: unsigned DC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 82: unsigned Z :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 83: unsigned nPD :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 84: unsigned nTO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 85: unsigned RP :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 86: unsigned IRP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 87: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 88: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 89: unsigned :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 90: unsigned RP0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 91: unsigned RP1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 92: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 93: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 94: unsigned CARRY :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 95: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 96: unsigned ZERO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 97: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 98: } STATUSbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 99: extern volatile STATUSbits_t STATUSbits __at(0x003); +[; ;xc8\pic\include\proc\pic16f877a.h: 159: extern volatile unsigned char FSR __at(0x004); "161 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 161: __asm("FSR equ 04h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 161: asm("FSR equ 04h"); [; <" FSR equ 04h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 166: extern volatile unsigned char PORTA __at(0x005); "168 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 168: __asm("PORTA equ 05h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 168: asm("PORTA equ 05h"); [; <" PORTA equ 05h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 171: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 172: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 173: unsigned RA0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 174: unsigned RA1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 175: unsigned RA2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 176: unsigned RA3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 177: unsigned RA4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 178: unsigned RA5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 179: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 180: } PORTAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 181: extern volatile PORTAbits_t PORTAbits __at(0x005); +[; ;xc8\pic\include\proc\pic16f877a.h: 216: extern volatile unsigned char PORTB __at(0x006); "218 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 218: __asm("PORTB equ 06h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 218: asm("PORTB equ 06h"); [; <" PORTB equ 06h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 221: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 222: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 223: unsigned RB0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 224: unsigned RB1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 225: unsigned RB2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 226: unsigned RB3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 227: unsigned RB4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 228: unsigned RB5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 229: unsigned RB6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 230: unsigned RB7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 231: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 232: } PORTBbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 233: extern volatile PORTBbits_t PORTBbits __at(0x006); +[; ;xc8\pic\include\proc\pic16f877a.h: 278: extern volatile unsigned char PORTC __at(0x007); "280 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 280: __asm("PORTC equ 07h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 280: asm("PORTC equ 07h"); [; <" PORTC equ 07h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 283: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 284: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 285: unsigned RC0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 286: unsigned RC1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 287: unsigned RC2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 288: unsigned RC3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 289: unsigned RC4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 290: unsigned RC5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 291: unsigned RC6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 292: unsigned RC7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 293: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 294: } PORTCbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 295: extern volatile PORTCbits_t PORTCbits __at(0x007); +[; ;xc8\pic\include\proc\pic16f877a.h: 340: extern volatile unsigned char PORTD __at(0x008); "342 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 342: __asm("PORTD equ 08h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 342: asm("PORTD equ 08h"); [; <" PORTD equ 08h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 345: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 346: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 347: unsigned RD0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 348: unsigned RD1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 349: unsigned RD2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 350: unsigned RD3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 351: unsigned RD4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 352: unsigned RD5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 353: unsigned RD6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 354: unsigned RD7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 355: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 356: } PORTDbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 357: extern volatile PORTDbits_t PORTDbits __at(0x008); +[; ;xc8\pic\include\proc\pic16f877a.h: 402: extern volatile unsigned char PORTE __at(0x009); "404 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 404: __asm("PORTE equ 09h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 404: asm("PORTE equ 09h"); [; <" PORTE equ 09h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 407: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 408: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 409: unsigned RE0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 410: unsigned RE1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 411: unsigned RE2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 412: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 413: } PORTEbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 414: extern volatile PORTEbits_t PORTEbits __at(0x009); +[; ;xc8\pic\include\proc\pic16f877a.h: 434: extern volatile unsigned char PCLATH __at(0x00A); "436 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 436: __asm("PCLATH equ 0Ah"); +[; ;xc8\pic\include\proc\pic16f877a.h: 436: asm("PCLATH equ 0Ah"); [; <" PCLATH equ 0Ah ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 439: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 440: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 441: unsigned PCLATH :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 442: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 443: } PCLATHbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 444: extern volatile PCLATHbits_t PCLATHbits __at(0x00A); +[; ;xc8\pic\include\proc\pic16f877a.h: 454: extern volatile unsigned char INTCON __at(0x00B); "456 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 456: __asm("INTCON equ 0Bh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 456: asm("INTCON equ 0Bh"); [; <" INTCON equ 0Bh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 459: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 460: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 461: unsigned RBIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 462: unsigned INTF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 463: unsigned TMR0IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 464: unsigned RBIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 465: unsigned INTE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 466: unsigned TMR0IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 467: unsigned PEIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 468: unsigned GIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 469: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 470: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 471: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 472: unsigned T0IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 473: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 474: unsigned T0IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 475: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 476: } INTCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 477: extern volatile INTCONbits_t INTCONbits __at(0x00B); +[; ;xc8\pic\include\proc\pic16f877a.h: 532: extern volatile unsigned char PIR1 __at(0x00C); "534 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 534: __asm("PIR1 equ 0Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 534: asm("PIR1 equ 0Ch"); [; <" PIR1 equ 0Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 537: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 538: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 539: unsigned TMR1IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 540: unsigned TMR2IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 541: unsigned CCP1IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 542: unsigned SSPIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 543: unsigned TXIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 544: unsigned RCIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 545: unsigned ADIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 546: unsigned PSPIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 547: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 548: } PIR1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 549: extern volatile PIR1bits_t PIR1bits __at(0x00C); +[; ;xc8\pic\include\proc\pic16f877a.h: 594: extern volatile unsigned char PIR2 __at(0x00D); "596 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 596: __asm("PIR2 equ 0Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 596: asm("PIR2 equ 0Dh"); [; <" PIR2 equ 0Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 599: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 600: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 601: unsigned CCP2IF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 602: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 603: unsigned BCLIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 604: unsigned EEIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 605: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 606: unsigned CMIF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 607: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 608: } PIR2bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 609: extern volatile PIR2bits_t PIR2bits __at(0x00D); +[; ;xc8\pic\include\proc\pic16f877a.h: 634: extern volatile unsigned short TMR1 __at(0x00E); "636 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 636: __asm("TMR1 equ 0Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 636: asm("TMR1 equ 0Eh"); [; <" TMR1 equ 0Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 641: extern volatile unsigned char TMR1L __at(0x00E); "643 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 643: __asm("TMR1L equ 0Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 643: asm("TMR1L equ 0Eh"); [; <" TMR1L equ 0Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 648: extern volatile unsigned char TMR1H __at(0x00F); "650 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 650: __asm("TMR1H equ 0Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 650: asm("TMR1H equ 0Fh"); [; <" TMR1H equ 0Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 655: extern volatile unsigned char T1CON __at(0x010); "657 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 657: __asm("T1CON equ 010h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 657: asm("T1CON equ 010h"); [; <" T1CON equ 010h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 660: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 661: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 662: unsigned TMR1ON :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 663: unsigned TMR1CS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 664: unsigned nT1SYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 665: unsigned T1OSCEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 666: unsigned T1CKPS :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 667: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 668: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 669: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 670: unsigned T1SYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 671: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 672: unsigned T1CKPS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 673: unsigned T1CKPS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 674: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 675: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 676: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 677: unsigned T1INSYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 678: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 679: } T1CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 680: extern volatile T1CONbits_t T1CONbits __at(0x010); +[; ;xc8\pic\include\proc\pic16f877a.h: 730: extern volatile unsigned char TMR2 __at(0x011); "732 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 732: __asm("TMR2 equ 011h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 732: asm("TMR2 equ 011h"); [; <" TMR2 equ 011h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 737: extern volatile unsigned char T2CON __at(0x012); "739 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 739: __asm("T2CON equ 012h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 739: asm("T2CON equ 012h"); [; <" T2CON equ 012h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 742: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 743: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 744: unsigned T2CKPS :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 745: unsigned TMR2ON :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 746: unsigned TOUTPS :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 747: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 748: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 749: unsigned T2CKPS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 750: unsigned T2CKPS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 751: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 752: unsigned TOUTPS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 753: unsigned TOUTPS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 754: unsigned TOUTPS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 755: unsigned TOUTPS3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 756: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 757: } T2CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 758: extern volatile T2CONbits_t T2CONbits __at(0x012); +[; ;xc8\pic\include\proc\pic16f877a.h: 808: extern volatile unsigned char SSPBUF __at(0x013); "810 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 810: __asm("SSPBUF equ 013h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 810: asm("SSPBUF equ 013h"); [; <" SSPBUF equ 013h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 815: extern volatile unsigned char SSPCON __at(0x014); "817 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 817: __asm("SSPCON equ 014h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 817: asm("SSPCON equ 014h"); [; <" SSPCON equ 014h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 820: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 821: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 822: unsigned SSPM :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 823: unsigned CKP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 824: unsigned SSPEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 825: unsigned SSPOV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 826: unsigned WCOL :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 827: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 828: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 829: unsigned SSPM0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 830: unsigned SSPM1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 831: unsigned SSPM2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 832: unsigned SSPM3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 833: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 834: } SSPCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 835: extern volatile SSPCONbits_t SSPCONbits __at(0x014); +[; ;xc8\pic\include\proc\pic16f877a.h: 885: extern volatile unsigned short CCPR1 __at(0x015); "887 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 887: __asm("CCPR1 equ 015h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 887: asm("CCPR1 equ 015h"); [; <" CCPR1 equ 015h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 892: extern volatile unsigned char CCPR1L __at(0x015); "894 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 894: __asm("CCPR1L equ 015h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 894: asm("CCPR1L equ 015h"); [; <" CCPR1L equ 015h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 899: extern volatile unsigned char CCPR1H __at(0x016); "901 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 901: __asm("CCPR1H equ 016h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 901: asm("CCPR1H equ 016h"); [; <" CCPR1H equ 016h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 906: extern volatile unsigned char CCP1CON __at(0x017); "908 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 908: __asm("CCP1CON equ 017h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 908: asm("CCP1CON equ 017h"); [; <" CCP1CON equ 017h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 911: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 912: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 913: unsigned CCP1M :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 914: unsigned CCP1Y :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 915: unsigned CCP1X :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 916: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 917: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 918: unsigned CCP1M0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 919: unsigned CCP1M1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 920: unsigned CCP1M2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 921: unsigned CCP1M3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 922: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 923: } CCP1CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 924: extern volatile CCP1CONbits_t CCP1CONbits __at(0x017); +[; ;xc8\pic\include\proc\pic16f877a.h: 964: extern volatile unsigned char RCSTA __at(0x018); "966 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 966: __asm("RCSTA equ 018h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 966: asm("RCSTA equ 018h"); [; <" RCSTA equ 018h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 969: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 970: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 971: unsigned RX9D :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 972: unsigned OERR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 973: unsigned FERR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 974: unsigned ADDEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 975: unsigned CREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 976: unsigned SREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 977: unsigned RX9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 978: unsigned SPEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 979: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 980: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 981: unsigned RCD8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 982: unsigned :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 983: unsigned RC9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 984: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 985: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 986: unsigned :6; +[; ;xc8\pic\include\proc\pic16f877a.h: 987: unsigned nRC8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 988: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 989: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 990: unsigned :6; +[; ;xc8\pic\include\proc\pic16f877a.h: 991: unsigned RC8_9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 992: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 993: } RCSTAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 994: extern volatile RCSTAbits_t RCSTAbits __at(0x018); +[; ;xc8\pic\include\proc\pic16f877a.h: 1059: extern volatile unsigned char TXREG __at(0x019); "1061 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1061: __asm("TXREG equ 019h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1061: asm("TXREG equ 019h"); [; <" TXREG equ 019h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1066: extern volatile unsigned char RCREG __at(0x01A); "1068 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1068: __asm("RCREG equ 01Ah"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1068: asm("RCREG equ 01Ah"); [; <" RCREG equ 01Ah ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1073: extern volatile unsigned short CCPR2 __at(0x01B); "1075 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1075: __asm("CCPR2 equ 01Bh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1075: asm("CCPR2 equ 01Bh"); [; <" CCPR2 equ 01Bh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1080: extern volatile unsigned char CCPR2L __at(0x01B); "1082 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1082: __asm("CCPR2L equ 01Bh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1082: asm("CCPR2L equ 01Bh"); [; <" CCPR2L equ 01Bh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1087: extern volatile unsigned char CCPR2H __at(0x01C); "1089 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1089: __asm("CCPR2H equ 01Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1089: asm("CCPR2H equ 01Ch"); [; <" CCPR2H equ 01Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1094: extern volatile unsigned char CCP2CON __at(0x01D); "1096 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1096: __asm("CCP2CON equ 01Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1096: asm("CCP2CON equ 01Dh"); [; <" CCP2CON equ 01Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1099: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1100: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1101: unsigned CCP2M :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 1102: unsigned CCP2Y :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1103: unsigned CCP2X :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1104: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1105: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1106: unsigned CCP2M0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1107: unsigned CCP2M1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1108: unsigned CCP2M2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1109: unsigned CCP2M3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1110: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1111: } CCP2CONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1112: extern volatile CCP2CONbits_t CCP2CONbits __at(0x01D); +[; ;xc8\pic\include\proc\pic16f877a.h: 1152: extern volatile unsigned char ADRESH __at(0x01E); "1154 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1154: __asm("ADRESH equ 01Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1154: asm("ADRESH equ 01Eh"); [; <" ADRESH equ 01Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1159: extern volatile unsigned char ADCON0 __at(0x01F); "1161 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1161: __asm("ADCON0 equ 01Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1161: asm("ADCON0 equ 01Fh"); [; <" ADCON0 equ 01Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1164: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1165: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1166: unsigned ADON :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1167: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1168: unsigned GO_nDONE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1169: unsigned CHS :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 1170: unsigned ADCS :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1171: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1172: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1173: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1174: unsigned GO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1175: unsigned CHS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1176: unsigned CHS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1177: unsigned CHS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1178: unsigned ADCS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1179: unsigned ADCS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1180: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1181: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1182: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1183: unsigned nDONE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1184: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1185: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1186: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1187: unsigned GO_DONE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1188: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1189: } ADCON0bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1190: extern volatile ADCON0bits_t ADCON0bits __at(0x01F); +[; ;xc8\pic\include\proc\pic16f877a.h: 1255: extern volatile unsigned char OPTION_REG __at(0x081); "1257 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1257: __asm("OPTION_REG equ 081h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1257: asm("OPTION_REG equ 081h"); [; <" OPTION_REG equ 081h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1260: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1261: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1262: unsigned PS :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 1263: unsigned PSA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1264: unsigned T0SE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1265: unsigned T0CS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1266: unsigned INTEDG :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1267: unsigned nRBPU :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1268: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1269: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1270: unsigned PS0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1271: unsigned PS1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1272: unsigned PS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1273: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1274: } OPTION_REGbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1275: extern volatile OPTION_REGbits_t OPTION_REGbits __at(0x081); +[; ;xc8\pic\include\proc\pic16f877a.h: 1325: extern volatile unsigned char TRISA __at(0x085); "1327 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1327: __asm("TRISA equ 085h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1327: asm("TRISA equ 085h"); [; <" TRISA equ 085h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1330: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1331: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1332: unsigned TRISA0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1333: unsigned TRISA1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1334: unsigned TRISA2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1335: unsigned TRISA3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1336: unsigned TRISA4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1337: unsigned TRISA5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1338: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1339: } TRISAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1340: extern volatile TRISAbits_t TRISAbits __at(0x085); +[; ;xc8\pic\include\proc\pic16f877a.h: 1375: extern volatile unsigned char TRISB __at(0x086); "1377 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1377: __asm("TRISB equ 086h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1377: asm("TRISB equ 086h"); [; <" TRISB equ 086h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1380: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1381: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1382: unsigned TRISB0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1383: unsigned TRISB1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1384: unsigned TRISB2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1385: unsigned TRISB3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1386: unsigned TRISB4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1387: unsigned TRISB5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1388: unsigned TRISB6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1389: unsigned TRISB7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1390: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1391: } TRISBbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1392: extern volatile TRISBbits_t TRISBbits __at(0x086); +[; ;xc8\pic\include\proc\pic16f877a.h: 1437: extern volatile unsigned char TRISC __at(0x087); "1439 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1439: __asm("TRISC equ 087h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1439: asm("TRISC equ 087h"); [; <" TRISC equ 087h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1442: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1443: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1444: unsigned TRISC0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1445: unsigned TRISC1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1446: unsigned TRISC2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1447: unsigned TRISC3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1448: unsigned TRISC4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1449: unsigned TRISC5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1450: unsigned TRISC6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1451: unsigned TRISC7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1452: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1453: } TRISCbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1454: extern volatile TRISCbits_t TRISCbits __at(0x087); +[; ;xc8\pic\include\proc\pic16f877a.h: 1499: extern volatile unsigned char TRISD __at(0x088); "1501 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1501: __asm("TRISD equ 088h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1501: asm("TRISD equ 088h"); [; <" TRISD equ 088h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1504: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1505: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1506: unsigned TRISD0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1507: unsigned TRISD1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1508: unsigned TRISD2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1509: unsigned TRISD3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1510: unsigned TRISD4 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1511: unsigned TRISD5 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1512: unsigned TRISD6 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1513: unsigned TRISD7 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1514: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1515: } TRISDbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1516: extern volatile TRISDbits_t TRISDbits __at(0x088); +[; ;xc8\pic\include\proc\pic16f877a.h: 1561: extern volatile unsigned char TRISE __at(0x089); "1563 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1563: __asm("TRISE equ 089h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1563: asm("TRISE equ 089h"); [; <" TRISE equ 089h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1566: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1567: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1568: unsigned TRISE0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1569: unsigned TRISE1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1570: unsigned TRISE2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1571: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1572: unsigned PSPMODE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1573: unsigned IBOV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1574: unsigned OBF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1575: unsigned IBF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1576: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1577: } TRISEbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1578: extern volatile TRISEbits_t TRISEbits __at(0x089); +[; ;xc8\pic\include\proc\pic16f877a.h: 1618: extern volatile unsigned char PIE1 __at(0x08C); "1620 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1620: __asm("PIE1 equ 08Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1620: asm("PIE1 equ 08Ch"); [; <" PIE1 equ 08Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1623: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1624: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1625: unsigned TMR1IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1626: unsigned TMR2IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1627: unsigned CCP1IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1628: unsigned SSPIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1629: unsigned TXIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1630: unsigned RCIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1631: unsigned ADIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1632: unsigned PSPIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1633: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1634: } PIE1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1635: extern volatile PIE1bits_t PIE1bits __at(0x08C); +[; ;xc8\pic\include\proc\pic16f877a.h: 1680: extern volatile unsigned char PIE2 __at(0x08D); "1682 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1682: __asm("PIE2 equ 08Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1682: asm("PIE2 equ 08Dh"); [; <" PIE2 equ 08Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1685: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1686: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1687: unsigned CCP2IE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1688: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1689: unsigned BCLIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1690: unsigned EEIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1691: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1692: unsigned CMIE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1693: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1694: } PIE2bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1695: extern volatile PIE2bits_t PIE2bits __at(0x08D); +[; ;xc8\pic\include\proc\pic16f877a.h: 1720: extern volatile unsigned char PCON __at(0x08E); "1722 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1722: __asm("PCON equ 08Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1722: asm("PCON equ 08Eh"); [; <" PCON equ 08Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1725: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1726: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1727: unsigned nBOR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1728: unsigned nPOR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1729: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1730: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1731: unsigned nBO :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1732: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1733: } PCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1734: extern volatile PCONbits_t PCONbits __at(0x08E); +[; ;xc8\pic\include\proc\pic16f877a.h: 1754: extern volatile unsigned char SSPCON2 __at(0x091); "1756 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1756: __asm("SSPCON2 equ 091h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1756: asm("SSPCON2 equ 091h"); [; <" SSPCON2 equ 091h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1759: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1760: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1761: unsigned SEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1762: unsigned RSEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1763: unsigned PEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1764: unsigned RCEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1765: unsigned ACKEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1766: unsigned ACKDT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1767: unsigned ACKSTAT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1768: unsigned GCEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1769: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1770: } SSPCON2bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1771: extern volatile SSPCON2bits_t SSPCON2bits __at(0x091); +[; ;xc8\pic\include\proc\pic16f877a.h: 1816: extern volatile unsigned char PR2 __at(0x092); "1818 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1818: __asm("PR2 equ 092h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1818: asm("PR2 equ 092h"); [; <" PR2 equ 092h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1823: extern volatile unsigned char SSPADD __at(0x093); "1825 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1825: __asm("SSPADD equ 093h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1825: asm("SSPADD equ 093h"); [; <" SSPADD equ 093h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1830: extern volatile unsigned char SSPSTAT __at(0x094); "1832 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 1832: __asm("SSPSTAT equ 094h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 1832: asm("SSPSTAT equ 094h"); [; <" SSPSTAT equ 094h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 1835: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 1836: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1837: unsigned BF :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1838: unsigned UA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1839: unsigned R_nW :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1840: unsigned S :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1841: unsigned P :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1842: unsigned D_nA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1843: unsigned CKE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1844: unsigned SMP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1845: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1846: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1847: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1848: unsigned R :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1849: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1850: unsigned D :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1851: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1852: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1853: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1854: unsigned I2C_READ :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1855: unsigned I2C_START :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1856: unsigned I2C_STOP :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1857: unsigned I2C_DATA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1858: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1859: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1860: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1861: unsigned nW :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1862: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1863: unsigned nA :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1864: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1865: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1866: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1867: unsigned nWRITE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1868: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1869: unsigned nADDRESS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1870: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1871: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1872: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1873: unsigned R_W :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1874: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1875: unsigned D_A :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1876: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1877: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 1878: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1879: unsigned READ_WRITE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1880: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 1881: unsigned DATA_ADDRESS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 1882: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 1883: } SSPSTATbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 1884: extern volatile SSPSTATbits_t SSPSTATbits __at(0x094); +[; ;xc8\pic\include\proc\pic16f877a.h: 1999: extern volatile unsigned char TXSTA __at(0x098); "2001 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2001: __asm("TXSTA equ 098h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2001: asm("TXSTA equ 098h"); [; <" TXSTA equ 098h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2004: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2005: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2006: unsigned TX9D :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2007: unsigned TRMT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2008: unsigned BRGH :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2009: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2010: unsigned SYNC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2011: unsigned TXEN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2012: unsigned TX9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2013: unsigned CSRC :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2014: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2015: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2016: unsigned TXD8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2017: unsigned :5; +[; ;xc8\pic\include\proc\pic16f877a.h: 2018: unsigned nTX8 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2019: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2020: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2021: unsigned :6; +[; ;xc8\pic\include\proc\pic16f877a.h: 2022: unsigned TX8_9 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2023: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2024: } TXSTAbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2025: extern volatile TXSTAbits_t TXSTAbits __at(0x098); +[; ;xc8\pic\include\proc\pic16f877a.h: 2080: extern volatile unsigned char SPBRG __at(0x099); "2082 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2082: __asm("SPBRG equ 099h"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2082: asm("SPBRG equ 099h"); [; <" SPBRG equ 099h ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2087: extern volatile unsigned char CMCON __at(0x09C); "2089 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2089: __asm("CMCON equ 09Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2089: asm("CMCON equ 09Ch"); [; <" CMCON equ 09Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2092: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2093: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2094: unsigned CM :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 2095: unsigned CIS :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2096: unsigned C1INV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2097: unsigned C2INV :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2098: unsigned C1OUT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2099: unsigned C2OUT :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2100: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2101: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2102: unsigned CM0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2103: unsigned CM1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2104: unsigned CM2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2105: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2106: } CMCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2107: extern volatile CMCONbits_t CMCONbits __at(0x09C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2157: extern volatile unsigned char CVRCON __at(0x09D); "2159 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2159: __asm("CVRCON equ 09Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2159: asm("CVRCON equ 09Dh"); [; <" CVRCON equ 09Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2162: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2163: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2164: unsigned CVR :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 2165: unsigned :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2166: unsigned CVRR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2167: unsigned CVROE :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2168: unsigned CVREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2169: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2170: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2171: unsigned CVR0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2172: unsigned CVR1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2173: unsigned CVR2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2174: unsigned CVR3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2175: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2176: } CVRCONbits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2177: extern volatile CVRCONbits_t CVRCONbits __at(0x09D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2222: extern volatile unsigned char ADRESL __at(0x09E); "2224 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2224: __asm("ADRESL equ 09Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2224: asm("ADRESL equ 09Eh"); [; <" ADRESL equ 09Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2229: extern volatile unsigned char ADCON1 __at(0x09F); "2231 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2231: __asm("ADCON1 equ 09Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2231: asm("ADCON1 equ 09Fh"); [; <" ADCON1 equ 09Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2234: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2235: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2236: unsigned PCFG :4; +[; ;xc8\pic\include\proc\pic16f877a.h: 2237: unsigned :2; +[; ;xc8\pic\include\proc\pic16f877a.h: 2238: unsigned ADCS2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2239: unsigned ADFM :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2240: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2241: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2242: unsigned PCFG0 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2243: unsigned PCFG1 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2244: unsigned PCFG2 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2245: unsigned PCFG3 :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2246: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2247: } ADCON1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2248: extern volatile ADCON1bits_t ADCON1bits __at(0x09F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2288: extern volatile unsigned char EEDATA __at(0x10C); "2290 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2290: __asm("EEDATA equ 010Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2290: asm("EEDATA equ 010Ch"); [; <" EEDATA equ 010Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2295: extern volatile unsigned char EEADR __at(0x10D); "2297 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2297: __asm("EEADR equ 010Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2297: asm("EEADR equ 010Dh"); [; <" EEADR equ 010Dh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2302: extern volatile unsigned char EEDATH __at(0x10E); "2304 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2304: __asm("EEDATH equ 010Eh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2304: asm("EEDATH equ 010Eh"); [; <" EEDATH equ 010Eh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2309: extern volatile unsigned char EEADRH __at(0x10F); "2311 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2311: __asm("EEADRH equ 010Fh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2311: asm("EEADRH equ 010Fh"); [; <" EEADRH equ 010Fh ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2316: extern volatile unsigned char EECON1 __at(0x18C); "2318 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2318: __asm("EECON1 equ 018Ch"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2318: asm("EECON1 equ 018Ch"); [; <" EECON1 equ 018Ch ;# "> +[; ;xc8\pic\include\proc\pic16f877a.h: 2321: typedef union { +[; ;xc8\pic\include\proc\pic16f877a.h: 2322: struct { +[; ;xc8\pic\include\proc\pic16f877a.h: 2323: unsigned RD :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2324: unsigned WR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2325: unsigned WREN :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2326: unsigned WRERR :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2327: unsigned :3; +[; ;xc8\pic\include\proc\pic16f877a.h: 2328: unsigned EEPGD :1; +[; ;xc8\pic\include\proc\pic16f877a.h: 2329: }; +[; ;xc8\pic\include\proc\pic16f877a.h: 2330: } EECON1bits_t; +[; ;xc8\pic\include\proc\pic16f877a.h: 2331: extern volatile EECON1bits_t EECON1bits __at(0x18C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2361: extern volatile unsigned char EECON2 __at(0x18D); "2363 -[; ;C:/Program Files/Microchip/MPLABX/v6.15/packs/Microchip/PIC16Fxxx_DFP/1.4.149/xc8\pic\include\proc\pic16f877a.h: 2363: __asm("EECON2 equ 018Dh"); +[; ;xc8\pic\include\proc\pic16f877a.h: 2363: asm("EECON2 equ 018Dh"); [; <" EECON2 equ 018Dh ;# "> -"6 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: __eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: } -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: } +[; ;xc8\pic\include\proc\pic16f877a.h: 2378: extern volatile __bit ACKDT __at(0x48D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2381: extern volatile __bit ACKEN __at(0x48C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2384: extern volatile __bit ACKSTAT __at(0x48E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2387: extern volatile __bit ADCS0 __at(0xFE); +[; ;xc8\pic\include\proc\pic16f877a.h: 2390: extern volatile __bit ADCS1 __at(0xFF); +[; ;xc8\pic\include\proc\pic16f877a.h: 2393: extern volatile __bit ADCS2 __at(0x4FE); +[; ;xc8\pic\include\proc\pic16f877a.h: 2396: extern volatile __bit ADDEN __at(0xC3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2399: extern volatile __bit ADFM __at(0x4FF); +[; ;xc8\pic\include\proc\pic16f877a.h: 2402: extern volatile __bit ADIE __at(0x466); +[; ;xc8\pic\include\proc\pic16f877a.h: 2405: extern volatile __bit ADIF __at(0x66); +[; ;xc8\pic\include\proc\pic16f877a.h: 2408: extern volatile __bit ADON __at(0xF8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2411: extern volatile __bit BCLIE __at(0x46B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2414: extern volatile __bit BCLIF __at(0x6B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2417: extern volatile __bit BF __at(0x4A0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2420: extern volatile __bit BRGH __at(0x4C2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2423: extern volatile __bit C1INV __at(0x4E4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2426: extern volatile __bit C1OUT __at(0x4E6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2429: extern volatile __bit C2INV __at(0x4E5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2432: extern volatile __bit C2OUT __at(0x4E7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2435: extern volatile __bit CARRY __at(0x18); +[; ;xc8\pic\include\proc\pic16f877a.h: 2438: extern volatile __bit CCP1IE __at(0x462); +[; ;xc8\pic\include\proc\pic16f877a.h: 2441: extern volatile __bit CCP1IF __at(0x62); +[; ;xc8\pic\include\proc\pic16f877a.h: 2444: extern volatile __bit CCP1M0 __at(0xB8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2447: extern volatile __bit CCP1M1 __at(0xB9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2450: extern volatile __bit CCP1M2 __at(0xBA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2453: extern volatile __bit CCP1M3 __at(0xBB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2456: extern volatile __bit CCP1X __at(0xBD); +[; ;xc8\pic\include\proc\pic16f877a.h: 2459: extern volatile __bit CCP1Y __at(0xBC); +[; ;xc8\pic\include\proc\pic16f877a.h: 2462: extern volatile __bit CCP2IE __at(0x468); +[; ;xc8\pic\include\proc\pic16f877a.h: 2465: extern volatile __bit CCP2IF __at(0x68); +[; ;xc8\pic\include\proc\pic16f877a.h: 2468: extern volatile __bit CCP2M0 __at(0xE8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2471: extern volatile __bit CCP2M1 __at(0xE9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2474: extern volatile __bit CCP2M2 __at(0xEA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2477: extern volatile __bit CCP2M3 __at(0xEB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2480: extern volatile __bit CCP2X __at(0xED); +[; ;xc8\pic\include\proc\pic16f877a.h: 2483: extern volatile __bit CCP2Y __at(0xEC); +[; ;xc8\pic\include\proc\pic16f877a.h: 2486: extern volatile __bit CHS0 __at(0xFB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2489: extern volatile __bit CHS1 __at(0xFC); +[; ;xc8\pic\include\proc\pic16f877a.h: 2492: extern volatile __bit CHS2 __at(0xFD); +[; ;xc8\pic\include\proc\pic16f877a.h: 2495: extern volatile __bit CIS __at(0x4E3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2498: extern volatile __bit CKE __at(0x4A6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2501: extern volatile __bit CKP __at(0xA4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2504: extern volatile __bit CM0 __at(0x4E0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2507: extern volatile __bit CM1 __at(0x4E1); +[; ;xc8\pic\include\proc\pic16f877a.h: 2510: extern volatile __bit CM2 __at(0x4E2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2513: extern volatile __bit CMIE __at(0x46E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2516: extern volatile __bit CMIF __at(0x6E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2519: extern volatile __bit CREN __at(0xC4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2522: extern volatile __bit CSRC __at(0x4C7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2525: extern volatile __bit CVR0 __at(0x4E8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2528: extern volatile __bit CVR1 __at(0x4E9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2531: extern volatile __bit CVR2 __at(0x4EA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2534: extern volatile __bit CVR3 __at(0x4EB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2537: extern volatile __bit CVREN __at(0x4EF); +[; ;xc8\pic\include\proc\pic16f877a.h: 2540: extern volatile __bit CVROE __at(0x4EE); +[; ;xc8\pic\include\proc\pic16f877a.h: 2543: extern volatile __bit CVRR __at(0x4ED); +[; ;xc8\pic\include\proc\pic16f877a.h: 2546: extern volatile __bit DATA_ADDRESS __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2549: extern volatile __bit DC __at(0x19); +[; ;xc8\pic\include\proc\pic16f877a.h: 2552: extern volatile __bit D_A __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2555: extern volatile __bit D_nA __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2558: extern volatile __bit EEIE __at(0x46C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2561: extern volatile __bit EEIF __at(0x6C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2564: extern volatile __bit EEPGD __at(0xC67); +[; ;xc8\pic\include\proc\pic16f877a.h: 2567: extern volatile __bit FERR __at(0xC2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2570: extern volatile __bit GCEN __at(0x48F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2573: extern volatile __bit GIE __at(0x5F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2576: extern volatile __bit GO __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2579: extern volatile __bit GO_DONE __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2582: extern volatile __bit GO_nDONE __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2585: extern volatile __bit I2C_DATA __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2588: extern volatile __bit I2C_READ __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2591: extern volatile __bit I2C_START __at(0x4A3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2594: extern volatile __bit I2C_STOP __at(0x4A4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2597: extern volatile __bit IBF __at(0x44F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2600: extern volatile __bit IBOV __at(0x44D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2603: extern volatile __bit INTE __at(0x5C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2606: extern volatile __bit INTEDG __at(0x40E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2609: extern volatile __bit INTF __at(0x59); +[; ;xc8\pic\include\proc\pic16f877a.h: 2612: extern volatile __bit IRP __at(0x1F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2615: extern volatile __bit OBF __at(0x44E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2618: extern volatile __bit OERR __at(0xC1); +[; ;xc8\pic\include\proc\pic16f877a.h: 2621: extern volatile __bit PCFG0 __at(0x4F8); +[; ;xc8\pic\include\proc\pic16f877a.h: 2624: extern volatile __bit PCFG1 __at(0x4F9); +[; ;xc8\pic\include\proc\pic16f877a.h: 2627: extern volatile __bit PCFG2 __at(0x4FA); +[; ;xc8\pic\include\proc\pic16f877a.h: 2630: extern volatile __bit PCFG3 __at(0x4FB); +[; ;xc8\pic\include\proc\pic16f877a.h: 2633: extern volatile __bit PEIE __at(0x5E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2636: extern volatile __bit PEN __at(0x48A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2639: extern volatile __bit PS0 __at(0x408); +[; ;xc8\pic\include\proc\pic16f877a.h: 2642: extern volatile __bit PS1 __at(0x409); +[; ;xc8\pic\include\proc\pic16f877a.h: 2645: extern volatile __bit PS2 __at(0x40A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2648: extern volatile __bit PSA __at(0x40B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2651: extern volatile __bit PSPIE __at(0x467); +[; ;xc8\pic\include\proc\pic16f877a.h: 2654: extern volatile __bit PSPIF __at(0x67); +[; ;xc8\pic\include\proc\pic16f877a.h: 2657: extern volatile __bit PSPMODE __at(0x44C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2660: extern volatile __bit RA0 __at(0x28); +[; ;xc8\pic\include\proc\pic16f877a.h: 2663: extern volatile __bit RA1 __at(0x29); +[; ;xc8\pic\include\proc\pic16f877a.h: 2666: extern volatile __bit RA2 __at(0x2A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2669: extern volatile __bit RA3 __at(0x2B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2672: extern volatile __bit RA4 __at(0x2C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2675: extern volatile __bit RA5 __at(0x2D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2678: extern volatile __bit RB0 __at(0x30); +[; ;xc8\pic\include\proc\pic16f877a.h: 2681: extern volatile __bit RB1 __at(0x31); +[; ;xc8\pic\include\proc\pic16f877a.h: 2684: extern volatile __bit RB2 __at(0x32); +[; ;xc8\pic\include\proc\pic16f877a.h: 2687: extern volatile __bit RB3 __at(0x33); +[; ;xc8\pic\include\proc\pic16f877a.h: 2690: extern volatile __bit RB4 __at(0x34); +[; ;xc8\pic\include\proc\pic16f877a.h: 2693: extern volatile __bit RB5 __at(0x35); +[; ;xc8\pic\include\proc\pic16f877a.h: 2696: extern volatile __bit RB6 __at(0x36); +[; ;xc8\pic\include\proc\pic16f877a.h: 2699: extern volatile __bit RB7 __at(0x37); +[; ;xc8\pic\include\proc\pic16f877a.h: 2702: extern volatile __bit RBIE __at(0x5B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2705: extern volatile __bit RBIF __at(0x58); +[; ;xc8\pic\include\proc\pic16f877a.h: 2708: extern volatile __bit RC0 __at(0x38); +[; ;xc8\pic\include\proc\pic16f877a.h: 2711: extern volatile __bit RC1 __at(0x39); +[; ;xc8\pic\include\proc\pic16f877a.h: 2714: extern volatile __bit RC2 __at(0x3A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2717: extern volatile __bit RC3 __at(0x3B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2720: extern volatile __bit RC4 __at(0x3C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2723: extern volatile __bit RC5 __at(0x3D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2726: extern volatile __bit RC6 __at(0x3E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2729: extern volatile __bit RC7 __at(0x3F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2732: extern volatile __bit RC8_9 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2735: extern volatile __bit RC9 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2738: extern volatile __bit RCD8 __at(0xC0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2741: extern volatile __bit RCEN __at(0x48B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2744: extern volatile __bit RCIE __at(0x465); +[; ;xc8\pic\include\proc\pic16f877a.h: 2747: extern volatile __bit RCIF __at(0x65); +[; ;xc8\pic\include\proc\pic16f877a.h: 2750: extern volatile __bit RD __at(0xC60); +[; ;xc8\pic\include\proc\pic16f877a.h: 2753: extern volatile __bit RD0 __at(0x40); +[; ;xc8\pic\include\proc\pic16f877a.h: 2756: extern volatile __bit RD1 __at(0x41); +[; ;xc8\pic\include\proc\pic16f877a.h: 2759: extern volatile __bit RD2 __at(0x42); +[; ;xc8\pic\include\proc\pic16f877a.h: 2762: extern volatile __bit RD3 __at(0x43); +[; ;xc8\pic\include\proc\pic16f877a.h: 2765: extern volatile __bit RD4 __at(0x44); +[; ;xc8\pic\include\proc\pic16f877a.h: 2768: extern volatile __bit RD5 __at(0x45); +[; ;xc8\pic\include\proc\pic16f877a.h: 2771: extern volatile __bit RD6 __at(0x46); +[; ;xc8\pic\include\proc\pic16f877a.h: 2774: extern volatile __bit RD7 __at(0x47); +[; ;xc8\pic\include\proc\pic16f877a.h: 2777: extern volatile __bit RE0 __at(0x48); +[; ;xc8\pic\include\proc\pic16f877a.h: 2780: extern volatile __bit RE1 __at(0x49); +[; ;xc8\pic\include\proc\pic16f877a.h: 2783: extern volatile __bit RE2 __at(0x4A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2786: extern volatile __bit READ_WRITE __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2789: extern volatile __bit RP0 __at(0x1D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2792: extern volatile __bit RP1 __at(0x1E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2795: extern volatile __bit RSEN __at(0x489); +[; ;xc8\pic\include\proc\pic16f877a.h: 2798: extern volatile __bit RX9 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2801: extern volatile __bit RX9D __at(0xC0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2804: extern volatile __bit R_W __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2807: extern volatile __bit R_nW __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2810: extern volatile __bit SEN __at(0x488); +[; ;xc8\pic\include\proc\pic16f877a.h: 2813: extern volatile __bit SMP __at(0x4A7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2816: extern volatile __bit SPEN __at(0xC7); +[; ;xc8\pic\include\proc\pic16f877a.h: 2819: extern volatile __bit SREN __at(0xC5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2822: extern volatile __bit SSPEN __at(0xA5); +[; ;xc8\pic\include\proc\pic16f877a.h: 2825: extern volatile __bit SSPIE __at(0x463); +[; ;xc8\pic\include\proc\pic16f877a.h: 2828: extern volatile __bit SSPIF __at(0x63); +[; ;xc8\pic\include\proc\pic16f877a.h: 2831: extern volatile __bit SSPM0 __at(0xA0); +[; ;xc8\pic\include\proc\pic16f877a.h: 2834: extern volatile __bit SSPM1 __at(0xA1); +[; ;xc8\pic\include\proc\pic16f877a.h: 2837: extern volatile __bit SSPM2 __at(0xA2); +[; ;xc8\pic\include\proc\pic16f877a.h: 2840: extern volatile __bit SSPM3 __at(0xA3); +[; ;xc8\pic\include\proc\pic16f877a.h: 2843: extern volatile __bit SSPOV __at(0xA6); +[; ;xc8\pic\include\proc\pic16f877a.h: 2846: extern volatile __bit SYNC __at(0x4C4); +[; ;xc8\pic\include\proc\pic16f877a.h: 2849: extern volatile __bit T0CS __at(0x40D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2852: extern volatile __bit T0IE __at(0x5D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2855: extern volatile __bit T0IF __at(0x5A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2858: extern volatile __bit T0SE __at(0x40C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2861: extern volatile __bit T1CKPS0 __at(0x84); +[; ;xc8\pic\include\proc\pic16f877a.h: 2864: extern volatile __bit T1CKPS1 __at(0x85); +[; ;xc8\pic\include\proc\pic16f877a.h: 2867: extern volatile __bit T1INSYNC __at(0x82); +[; ;xc8\pic\include\proc\pic16f877a.h: 2870: extern volatile __bit T1OSCEN __at(0x83); +[; ;xc8\pic\include\proc\pic16f877a.h: 2873: extern volatile __bit T1SYNC __at(0x82); +[; ;xc8\pic\include\proc\pic16f877a.h: 2876: extern volatile __bit T2CKPS0 __at(0x90); +[; ;xc8\pic\include\proc\pic16f877a.h: 2879: extern volatile __bit T2CKPS1 __at(0x91); +[; ;xc8\pic\include\proc\pic16f877a.h: 2882: extern volatile __bit TMR0IE __at(0x5D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2885: extern volatile __bit TMR0IF __at(0x5A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2888: extern volatile __bit TMR1CS __at(0x81); +[; ;xc8\pic\include\proc\pic16f877a.h: 2891: extern volatile __bit TMR1IE __at(0x460); +[; ;xc8\pic\include\proc\pic16f877a.h: 2894: extern volatile __bit TMR1IF __at(0x60); +[; ;xc8\pic\include\proc\pic16f877a.h: 2897: extern volatile __bit TMR1ON __at(0x80); +[; ;xc8\pic\include\proc\pic16f877a.h: 2900: extern volatile __bit TMR2IE __at(0x461); +[; ;xc8\pic\include\proc\pic16f877a.h: 2903: extern volatile __bit TMR2IF __at(0x61); +[; ;xc8\pic\include\proc\pic16f877a.h: 2906: extern volatile __bit TMR2ON __at(0x92); +[; ;xc8\pic\include\proc\pic16f877a.h: 2909: extern volatile __bit TOUTPS0 __at(0x93); +[; ;xc8\pic\include\proc\pic16f877a.h: 2912: extern volatile __bit TOUTPS1 __at(0x94); +[; ;xc8\pic\include\proc\pic16f877a.h: 2915: extern volatile __bit TOUTPS2 __at(0x95); +[; ;xc8\pic\include\proc\pic16f877a.h: 2918: extern volatile __bit TOUTPS3 __at(0x96); +[; ;xc8\pic\include\proc\pic16f877a.h: 2921: extern volatile __bit TRISA0 __at(0x428); +[; ;xc8\pic\include\proc\pic16f877a.h: 2924: extern volatile __bit TRISA1 __at(0x429); +[; ;xc8\pic\include\proc\pic16f877a.h: 2927: extern volatile __bit TRISA2 __at(0x42A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2930: extern volatile __bit TRISA3 __at(0x42B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2933: extern volatile __bit TRISA4 __at(0x42C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2936: extern volatile __bit TRISA5 __at(0x42D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2939: extern volatile __bit TRISB0 __at(0x430); +[; ;xc8\pic\include\proc\pic16f877a.h: 2942: extern volatile __bit TRISB1 __at(0x431); +[; ;xc8\pic\include\proc\pic16f877a.h: 2945: extern volatile __bit TRISB2 __at(0x432); +[; ;xc8\pic\include\proc\pic16f877a.h: 2948: extern volatile __bit TRISB3 __at(0x433); +[; ;xc8\pic\include\proc\pic16f877a.h: 2951: extern volatile __bit TRISB4 __at(0x434); +[; ;xc8\pic\include\proc\pic16f877a.h: 2954: extern volatile __bit TRISB5 __at(0x435); +[; ;xc8\pic\include\proc\pic16f877a.h: 2957: extern volatile __bit TRISB6 __at(0x436); +[; ;xc8\pic\include\proc\pic16f877a.h: 2960: extern volatile __bit TRISB7 __at(0x437); +[; ;xc8\pic\include\proc\pic16f877a.h: 2963: extern volatile __bit TRISC0 __at(0x438); +[; ;xc8\pic\include\proc\pic16f877a.h: 2966: extern volatile __bit TRISC1 __at(0x439); +[; ;xc8\pic\include\proc\pic16f877a.h: 2969: extern volatile __bit TRISC2 __at(0x43A); +[; ;xc8\pic\include\proc\pic16f877a.h: 2972: extern volatile __bit TRISC3 __at(0x43B); +[; ;xc8\pic\include\proc\pic16f877a.h: 2975: extern volatile __bit TRISC4 __at(0x43C); +[; ;xc8\pic\include\proc\pic16f877a.h: 2978: extern volatile __bit TRISC5 __at(0x43D); +[; ;xc8\pic\include\proc\pic16f877a.h: 2981: extern volatile __bit TRISC6 __at(0x43E); +[; ;xc8\pic\include\proc\pic16f877a.h: 2984: extern volatile __bit TRISC7 __at(0x43F); +[; ;xc8\pic\include\proc\pic16f877a.h: 2987: extern volatile __bit TRISD0 __at(0x440); +[; ;xc8\pic\include\proc\pic16f877a.h: 2990: extern volatile __bit TRISD1 __at(0x441); +[; ;xc8\pic\include\proc\pic16f877a.h: 2993: extern volatile __bit TRISD2 __at(0x442); +[; ;xc8\pic\include\proc\pic16f877a.h: 2996: extern volatile __bit TRISD3 __at(0x443); +[; ;xc8\pic\include\proc\pic16f877a.h: 2999: extern volatile __bit TRISD4 __at(0x444); +[; ;xc8\pic\include\proc\pic16f877a.h: 3002: extern volatile __bit TRISD5 __at(0x445); +[; ;xc8\pic\include\proc\pic16f877a.h: 3005: extern volatile __bit TRISD6 __at(0x446); +[; ;xc8\pic\include\proc\pic16f877a.h: 3008: extern volatile __bit TRISD7 __at(0x447); +[; ;xc8\pic\include\proc\pic16f877a.h: 3011: extern volatile __bit TRISE0 __at(0x448); +[; ;xc8\pic\include\proc\pic16f877a.h: 3014: extern volatile __bit TRISE1 __at(0x449); +[; ;xc8\pic\include\proc\pic16f877a.h: 3017: extern volatile __bit TRISE2 __at(0x44A); +[; ;xc8\pic\include\proc\pic16f877a.h: 3020: extern volatile __bit TRMT __at(0x4C1); +[; ;xc8\pic\include\proc\pic16f877a.h: 3023: extern volatile __bit TX8_9 __at(0x4C6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3026: extern volatile __bit TX9 __at(0x4C6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3029: extern volatile __bit TX9D __at(0x4C0); +[; ;xc8\pic\include\proc\pic16f877a.h: 3032: extern volatile __bit TXD8 __at(0x4C0); +[; ;xc8\pic\include\proc\pic16f877a.h: 3035: extern volatile __bit TXEN __at(0x4C5); +[; ;xc8\pic\include\proc\pic16f877a.h: 3038: extern volatile __bit TXIE __at(0x464); +[; ;xc8\pic\include\proc\pic16f877a.h: 3041: extern volatile __bit TXIF __at(0x64); +[; ;xc8\pic\include\proc\pic16f877a.h: 3044: extern volatile __bit UA __at(0x4A1); +[; ;xc8\pic\include\proc\pic16f877a.h: 3047: extern volatile __bit WCOL __at(0xA7); +[; ;xc8\pic\include\proc\pic16f877a.h: 3050: extern volatile __bit WR __at(0xC61); +[; ;xc8\pic\include\proc\pic16f877a.h: 3053: extern volatile __bit WREN __at(0xC62); +[; ;xc8\pic\include\proc\pic16f877a.h: 3056: extern volatile __bit WRERR __at(0xC63); +[; ;xc8\pic\include\proc\pic16f877a.h: 3059: extern volatile __bit ZERO __at(0x1A); +[; ;xc8\pic\include\proc\pic16f877a.h: 3062: extern volatile __bit nA __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 3065: extern volatile __bit nADDRESS __at(0x4A5); +[; ;xc8\pic\include\proc\pic16f877a.h: 3068: extern volatile __bit nBO __at(0x470); +[; ;xc8\pic\include\proc\pic16f877a.h: 3071: extern volatile __bit nBOR __at(0x470); +[; ;xc8\pic\include\proc\pic16f877a.h: 3074: extern volatile __bit nDONE __at(0xFA); +[; ;xc8\pic\include\proc\pic16f877a.h: 3077: extern volatile __bit nPD __at(0x1B); +[; ;xc8\pic\include\proc\pic16f877a.h: 3080: extern volatile __bit nPOR __at(0x471); +[; ;xc8\pic\include\proc\pic16f877a.h: 3083: extern volatile __bit nRBPU __at(0x40F); +[; ;xc8\pic\include\proc\pic16f877a.h: 3086: extern volatile __bit nRC8 __at(0xC6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3089: extern volatile __bit nT1SYNC __at(0x82); +[; ;xc8\pic\include\proc\pic16f877a.h: 3092: extern volatile __bit nTO __at(0x1C); +[; ;xc8\pic\include\proc\pic16f877a.h: 3095: extern volatile __bit nTX8 __at(0x4C6); +[; ;xc8\pic\include\proc\pic16f877a.h: 3098: extern volatile __bit nW __at(0x4A2); +[; ;xc8\pic\include\proc\pic16f877a.h: 3101: extern volatile __bit nWRITE __at(0x4A2); +[; ;xc8\pic\include\pic.h: 76: __attribute__((__unsupported__("The " "FLASH_READ" " macro function is no longer supported. Please use the MPLAB X MCC."))) unsigned char __flash_read(unsigned short addr); +[; ;xc8\pic\include\pic.h: 78: __attribute__((__unsupported__("The " "FLASH_WRITE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_write(unsigned short addr, unsigned short data); +[; ;xc8\pic\include\pic.h: 80: __attribute__((__unsupported__("The " "FLASH_ERASE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_erase(unsigned short addr); +[; ;eeprom_routines.h: 114: extern void eeprom_write(unsigned char addr, unsigned char value); +[; ;eeprom_routines.h: 115: extern unsigned char eeprom_read(unsigned char addr); +[; ;xc8\pic\include\pic.h: 118: extern __bank0 unsigned char __resetbits; +[; ;xc8\pic\include\pic.h: 119: extern __bank0 __bit __powerdown; +[; ;xc8\pic\include\pic.h: 120: extern __bank0 __bit __timeout; +"6 C:\Program Files\Microchip\xc8\v2.45\pic\sources\c90\pic\__eeprom.c [v ___eecpymem `(v ~T0 @X0 1 ef3`*Vuc`*Euc`uc ] "7 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: { -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: unsigned int -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: { +[; ;__eeprom.c: 5: void +[; ;__eeprom.c: 6: __eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) +[; ;__eeprom.c: 7: { [e :U ___eecpymem ] "6 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: __eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: } -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 6: } [v _to `*Vuc ~T0 @X0 1 r1 ] [v _from `*Euc ~T0 @X0 1 r2 ] [v _size `uc ~T0 @X0 1 r3 ] "7 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: { -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: unsigned int -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 7: [f ] "8 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 8: volatile unsigned char *cp = to; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 8: __itoee(__eeprom void *addr, unsigned int data) -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 8: double [v _cp `*Vuc ~T0 @X0 1 a ] +[; ;__eeprom.c: 8: volatile unsigned char *cp = to; [e = _cp _to ] +[; ;__eeprom.c: 10: while (EECON1bits.WR) continue; "10 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 10: while (EECON1bits.WR) continue; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 10: __memcpyee(addr,(unsigned char *) &data,2); -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 10: { -[e $U 100 ] -[e :U 101 ] -[e $U 100 ] -[e :U 100 ] -[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 101 ] -[e :U 102 ] +[e $U 96 ] +[e :U 97 ] +[e $U 96 ] +[e :U 96 ] +[e $ != -> . . _EECON1bits 0 1 `i -> -> -> 0 `i `Vuc `i 97 ] +[e :U 98 ] +[; ;__eeprom.c: 11: EEADR = (unsigned char)from; "11 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 11: EEADR = (unsigned char)from; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 11: return data; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 11: double data; [e = _EEADR -> _from `uc ] +[; ;__eeprom.c: 12: while(size--) { "12 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 12: while(size--) { -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 12: } -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 12: __eecpymem((unsigned char *) &data,addr,4); -[e $U 103 ] -[e :U 104 ] +[e $U 99 ] +[e :U 100 ] { +[; ;__eeprom.c: 13: while (EECON1bits.WR) continue; "13 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 13: while (EECON1bits.WR) continue; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 13: -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 13: return data; -[e $U 106 ] -[e :U 107 ] -[e $U 106 ] -[e :U 106 ] -[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 107 ] -[e :U 108 ] +[e $U 102 ] +[e :U 103 ] +[e $U 102 ] +[e :U 102 ] +[e $ != -> . . _EECON1bits 0 1 `i -> -> -> 0 `i `Vuc `i 103 ] +[e :U 104 ] +[; ;__eeprom.c: 15: EECON1 &= 0x7F; "15 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 15: EECON1 &= 0x7F; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 15: -[e =& _EECON1 -> -> 127 `i `Vuc ] +[e =& _EECON1 -> -> 127 `i `uc ] +[; ;__eeprom.c: 17: EECON1bits.RD = 1; "17 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 17: EECON1bits.RD = 1; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 17: __fttoee(__eeprom void *addr, float data) [e = . . _EECON1bits 0 0 -> -> 1 `i `uc ] +[; ;__eeprom.c: 18: *cp++ = EEDATA; "18 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 18: *cp++ = EEDATA; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 18: { [e = *U ++ _cp * -> -> 1 `i `x -> -> # *U _cp `i `x _EEDATA ] +[; ;__eeprom.c: 19: ++EEADR; "19 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 19: ++EEADR; -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 19: __memcpyee(addr,(unsigned char *) &data,3); -[e =+ _EEADR -> -> 1 `i `Vuc ] +[e =+ _EEADR -> -> 1 `i `uc ] "20 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 20: } -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 20: return data; } -[e :U 103 ] +[e :U 99 ] "12 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 12: while(size--) { -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 12: } -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 12: __eecpymem((unsigned char *) &data,addr,4); -[e $ != -> -- _size -> -> 1 `i `uc `i -> 0 `i 104 ] -[e :U 105 ] +[e $ != -> -- _size -> -> 1 `i `uc `i -> -> -> 0 `i `uc `i 100 ] +[e :U 101 ] +[; ;__eeprom.c: 20: } +[; ;__eeprom.c: 36: } "36 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 36: } -[e :UE 99 ] +[e :UE 95 ] } "39 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 39: __memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) [v ___memcpyee `(v ~T0 @X0 1 ef3`*Euc`*Cuc`uc ] "40 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 40: { { +[; ;__eeprom.c: 38: void +[; ;__eeprom.c: 39: __memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) +[; ;__eeprom.c: 40: { [e :U ___memcpyee ] "39 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 39: __memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) [v _to `*Euc ~T0 @X0 1 r1 ] [v _from `*Cuc ~T0 @X0 1 r2 ] [v _size `uc ~T0 @X0 1 r3 ] "40 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 40: { [f ] "41 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 41: const unsigned char *ptr =from; [v _ptr `*Cuc ~T0 @X0 1 a ] +[; ;__eeprom.c: 41: const unsigned char *ptr =from; [e = _ptr _from ] +[; ;__eeprom.c: 43: while (EECON1bits.WR) continue; "43 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 43: while (EECON1bits.WR) continue; -[e $U 110 ] -[e :U 111 ] -[e $U 110 ] -[e :U 110 ] -[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 111 ] -[e :U 112 ] +[e $U 106 ] +[e :U 107 ] +[e $U 106 ] +[e :U 106 ] +[e $ != -> . . _EECON1bits 0 1 `i -> -> -> 0 `i `Vuc `i 107 ] +[e :U 108 ] +[; ;__eeprom.c: 44: EEADR = (unsigned char)to - 1U; "44 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 44: EEADR = (unsigned char)to - 1U; [e = _EEADR -> - -> -> _to `uc `ui -> 1 `ui `uc ] +[; ;__eeprom.c: 46: EECON1 &= 0x7F; "46 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 46: EECON1 &= 0x7F; -[e =& _EECON1 -> -> 127 `i `Vuc ] +[e =& _EECON1 -> -> 127 `i `uc ] +[; ;__eeprom.c: 48: while(size--) { "48 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 48: while(size--) { -[e $U 113 ] -[e :U 114 ] +[e $U 109 ] +[e :U 110 ] { +[; ;__eeprom.c: 49: while (EECON1bits.WR) { "49 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 49: while (EECON1bits.WR) { -[e $U 116 ] -[e :U 117 ] +[e $U 112 ] +[e :U 113 ] { +[; ;__eeprom.c: 50: continue; "50 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 50: continue; -[e $U 116 ] +[e $U 112 ] "51 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 51: } } -[e :U 116 ] +[e :U 112 ] "49 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 49: while (EECON1bits.WR) { -[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 117 ] -[e :U 118 ] +[e $ != -> . . _EECON1bits 0 1 `i -> -> -> 0 `i `Vuc `i 113 ] +[e :U 114 ] +[; ;__eeprom.c: 51: } +[; ;__eeprom.c: 52: EEDATA = *ptr++; "52 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 52: EEDATA = *ptr++; [e = _EEDATA *U ++ _ptr * -> -> 1 `i `x -> -> # *U _ptr `i `x ] +[; ;__eeprom.c: 53: ++EEADR; "53 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 53: ++EEADR; -[e =+ _EEADR -> -> 1 `i `Vuc ] +[e =+ _EEADR -> -> 1 `i `uc ] +[; ;__eeprom.c: 54: STATUSbits.CARRY = 0; "54 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 54: STATUSbits.CARRY = 0; [e = . . _STATUSbits 2 0 -> -> 0 `i `uc ] +[; ;__eeprom.c: 55: if (INTCONbits.GIE) { "55 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 55: if (INTCONbits.GIE) { -[e $ ! != -> . . _INTCONbits 0 7 `i -> 0 `i 119 ] +[e $ ! != -> . . _INTCONbits 0 7 `i -> -> -> 0 `i `Vuc `i 115 ] { +[; ;__eeprom.c: 56: STATUSbits.CARRY = 1; "56 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 56: STATUSbits.CARRY = 1; [e = . . _STATUSbits 2 0 -> -> 1 `i `uc ] "57 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 57: } } -[e :U 119 ] +[e :U 115 ] +[; ;__eeprom.c: 57: } +[; ;__eeprom.c: 58: INTCONbits.GIE = 0; "58 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 58: INTCONbits.GIE = 0; [e = . . _INTCONbits 0 7 -> -> 0 `i `uc ] +[; ;__eeprom.c: 59: EECON1bits.WREN = 1; "59 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 59: EECON1bits.WREN = 1; [e = . . _EECON1bits 0 2 -> -> 1 `i `uc ] +[; ;__eeprom.c: 60: EECON2 = 0x55; "60 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 60: EECON2 = 0x55; [e = _EECON2 -> -> 85 `i `uc ] +[; ;__eeprom.c: 61: EECON2 = 0xAA; "61 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 61: EECON2 = 0xAA; [e = _EECON2 -> -> 170 `i `uc ] +[; ;__eeprom.c: 62: EECON1bits.WR = 1; "62 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 62: EECON1bits.WR = 1; [e = . . _EECON1bits 0 1 -> -> 1 `i `uc ] +[; ;__eeprom.c: 63: EECON1bits.WREN = 0; "63 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 63: EECON1bits.WREN = 0; [e = . . _EECON1bits 0 2 -> -> 0 `i `uc ] +[; ;__eeprom.c: 64: if (STATUSbits.CARRY) { "64 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 64: if (STATUSbits.CARRY) { -[e $ ! != -> . . _STATUSbits 2 0 `i -> 0 `i 120 ] +[e $ ! != -> . . _STATUSbits 2 0 `i -> -> -> 0 `i `Vuc `i 116 ] { +[; ;__eeprom.c: 65: INTCONbits.GIE = 1; "65 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 65: INTCONbits.GIE = 1; [e = . . _INTCONbits 0 7 -> -> 1 `i `uc ] "66 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 66: } } -[e :U 120 ] +[e :U 116 ] "67 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 67: } } -[e :U 113 ] +[e :U 109 ] "48 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 48: while(size--) { -[e $ != -> -- _size -> -> 1 `i `uc `i -> 0 `i 114 ] -[e :U 115 ] +[e $ != -> -- _size -> -> 1 `i `uc `i -> -> -> 0 `i `uc `i 110 ] +[e :U 111 ] +[; ;__eeprom.c: 66: } +[; ;__eeprom.c: 67: } +[; ;__eeprom.c: 101: } "101 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 101: } -[e :UE 109 ] +[e :UE 105 ] } "104 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 104: __eetoc(__eeprom void *addr) [v ___eetoc `(uc ~T0 @X0 1 ef1`*Ev ] "105 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 105: { { +[; ;__eeprom.c: 103: unsigned char +[; ;__eeprom.c: 104: __eetoc(__eeprom void *addr) +[; ;__eeprom.c: 105: { [e :U ___eetoc ] "104 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 104: __eetoc(__eeprom void *addr) [v _addr `*Ev ~T0 @X0 1 r1 ] "105 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 105: { [f ] "106 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 106: unsigned char data; [v _data `uc ~T0 @X0 1 a ] +[; ;__eeprom.c: 106: unsigned char data; +[; ;__eeprom.c: 107: __eecpymem((unsigned char *) &data,addr,1); "107 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 107: __eecpymem((unsigned char *) &data,addr,1); [e ( ___eecpymem (3 , , -> &U _data `*Vuc -> _addr `*Euc -> -> 1 `i `uc ] +[; ;__eeprom.c: 108: return data; "108 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 108: return data; [e ) _data ] -[e $UE 121 ] +[e $UE 117 ] +[; ;__eeprom.c: 109: } "109 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 109: } -[e :UE 121 ] +[e :UE 117 ] } "112 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 112: __eetoi(__eeprom void *addr) [v ___eetoi `(ui ~T0 @X0 1 ef1`*Ev ] "113 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 113: { { +[; ;__eeprom.c: 111: unsigned int +[; ;__eeprom.c: 112: __eetoi(__eeprom void *addr) +[; ;__eeprom.c: 113: { [e :U ___eetoi ] "112 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 112: __eetoi(__eeprom void *addr) [v _addr `*Ev ~T0 @X0 1 r1 ] "113 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 113: { [f ] "114 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 114: unsigned int data; [v _data `ui ~T0 @X0 1 a ] +[; ;__eeprom.c: 114: unsigned int data; +[; ;__eeprom.c: 115: __eecpymem((unsigned char *) &data,addr,2); "115 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 115: __eecpymem((unsigned char *) &data,addr,2); [e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 2 `i `uc ] +[; ;__eeprom.c: 116: return data; "116 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 116: return data; [e ) _data ] -[e $UE 122 ] +[e $UE 118 ] +[; ;__eeprom.c: 117: } "117 -[; ;C:\Program Files\Microchip\xc8\v2.45\pic\sources\c99\pic\__eeprom.c: 117: } -[e :UE 122 ] +[e :UE 118 ] } "119 [p k ] @@ -511,6 +1321,9 @@ Version 4.0 HI-TECH Software Intermediate Code [v ___eetom `(um ~T0 @X0 1 ef1`*Ev ] "123 { +[; ;__eeprom.c: 121: __uint24 +[; ;__eeprom.c: 122: __eetom(__eeprom void *addr) +[; ;__eeprom.c: 123: { [e :U ___eetom ] "122 [v _addr `*Ev ~T0 @X0 1 r1 ] @@ -518,13 +1331,17 @@ Version 4.0 HI-TECH Software Intermediate Code [f ] "124 [v _data `um ~T0 @X0 1 a ] +[; ;__eeprom.c: 124: __uint24 data; +[; ;__eeprom.c: 125: __eecpymem((unsigned char *) &data,addr,3); "125 [e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 3 `i `uc ] +[; ;__eeprom.c: 126: return data; "126 [e ) _data ] -[e $UE 123 ] +[e $UE 119 ] +[; ;__eeprom.c: 127: } "127 -[e :UE 123 ] +[e :UE 119 ] } "128 [p o ] @@ -532,6 +1349,9 @@ Version 4.0 HI-TECH Software Intermediate Code [v ___eetol `(ul ~T0 @X0 1 ef1`*Ev ] "132 { +[; ;__eeprom.c: 130: unsigned long +[; ;__eeprom.c: 131: __eetol(__eeprom void *addr) +[; ;__eeprom.c: 132: { [e :U ___eetol ] "131 [v _addr `*Ev ~T0 @X0 1 r1 ] @@ -539,36 +1359,47 @@ Version 4.0 HI-TECH Software Intermediate Code [f ] "133 [v _data `ul ~T0 @X0 1 a ] +[; ;__eeprom.c: 133: unsigned long data; +[; ;__eeprom.c: 134: __eecpymem((unsigned char *) &data,addr,4); "134 [e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 4 `i `uc ] +[; ;__eeprom.c: 135: return data; "135 [e ) _data ] -[e $UE 124 ] +[e $UE 120 ] +[; ;__eeprom.c: 136: } "136 -[e :UE 124 ] +[e :UE 120 ] } "138 [p k ] "139 [p n 1516 ] "141 -[v ___eetoo `(uo ~T0 @X0 1 ef1`*Ev ] +[v ___eetoo `(ul ~T0 @X0 1 ef1`*Ev ] "142 { +[; ;__eeprom.c: 140: unsigned long long +[; ;__eeprom.c: 141: __eetoo(__eeprom void *addr) +[; ;__eeprom.c: 142: { [e :U ___eetoo ] "141 [v _addr `*Ev ~T0 @X0 1 r1 ] "142 [f ] "143 -[v _data `uo ~T0 @X0 1 a ] +[v _data `ul ~T0 @X0 1 a ] +[; ;__eeprom.c: 143: unsigned long long data; +[; ;__eeprom.c: 144: __eecpymem((unsigned char *) &data,addr,8); "144 [e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 8 `i `uc ] +[; ;__eeprom.c: 145: return data; "145 [e ) _data ] -[e $UE 125 ] +[e $UE 121 ] +[; ;__eeprom.c: 146: } "146 -[e :UE 125 ] +[e :UE 121 ] } "147 [p o ] @@ -576,37 +1407,49 @@ Version 4.0 HI-TECH Software Intermediate Code [v ___ctoee `(uc ~T0 @X0 1 ef2`*Ev`uc ] "151 { +[; ;__eeprom.c: 149: unsigned char +[; ;__eeprom.c: 150: __ctoee(__eeprom void *addr, unsigned char data) +[; ;__eeprom.c: 151: { [e :U ___ctoee ] "150 [v _addr `*Ev ~T0 @X0 1 r1 ] [v _data `uc ~T0 @X0 1 r2 ] "151 [f ] +[; ;__eeprom.c: 152: __memcpyee(addr,(unsigned char *) &data,1); "152 [e ( ___memcpyee (3 , , -> _addr `*Euc -> &U _data `*Cuc -> -> 1 `i `uc ] +[; ;__eeprom.c: 153: return data; "153 [e ) _data ] -[e $UE 126 ] +[e $UE 122 ] +[; ;__eeprom.c: 154: } "154 -[e :UE 126 ] +[e :UE 122 ] } "157 [v ___itoee `(ui ~T0 @X0 1 ef2`*Ev`ui ] "158 { +[; ;__eeprom.c: 156: unsigned int +[; ;__eeprom.c: 157: __itoee(__eeprom void *addr, unsigned int data) +[; ;__eeprom.c: 158: { [e :U ___itoee ] "157 [v _addr `*Ev ~T0 @X0 1 r1 ] [v _data `ui ~T0 @X0 1 r2 ] "158 [f ] +[; ;__eeprom.c: 159: __memcpyee(addr,(unsigned char *) &data,2); "159 [e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 2 `i `uc ] +[; ;__eeprom.c: 160: return data; "160 [e ) _data ] -[e $UE 127 ] +[e $UE 123 ] +[; ;__eeprom.c: 161: } "161 -[e :UE 127 ] +[e :UE 123 ] } "163 [p k ] @@ -616,19 +1459,25 @@ Version 4.0 HI-TECH Software Intermediate Code [v ___mtoee `(um ~T0 @X0 1 ef2`*Ev`um ] "167 { +[; ;__eeprom.c: 165: __uint24 +[; ;__eeprom.c: 166: __mtoee(__eeprom void *addr, __uint24 data) +[; ;__eeprom.c: 167: { [e :U ___mtoee ] "166 [v _addr `*Ev ~T0 @X0 1 r1 ] [v _data `um ~T0 @X0 1 r2 ] "167 [f ] +[; ;__eeprom.c: 168: __memcpyee(addr,(unsigned char *) &data,3); "168 [e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 3 `i `uc ] +[; ;__eeprom.c: 169: return data; "169 [e ) _data ] -[e $UE 128 ] +[e $UE 124 ] +[; ;__eeprom.c: 170: } "170 -[e :UE 128 ] +[e :UE 124 ] } "171 [p o ] @@ -636,41 +1485,53 @@ Version 4.0 HI-TECH Software Intermediate Code [v ___ltoee `(ul ~T0 @X0 1 ef2`*Ev`ul ] "175 { +[; ;__eeprom.c: 173: unsigned long +[; ;__eeprom.c: 174: __ltoee(__eeprom void *addr, unsigned long data) +[; ;__eeprom.c: 175: { [e :U ___ltoee ] "174 [v _addr `*Ev ~T0 @X0 1 r1 ] [v _data `ul ~T0 @X0 1 r2 ] "175 [f ] +[; ;__eeprom.c: 176: __memcpyee(addr,(unsigned char *) &data,4); "176 [e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 4 `i `uc ] +[; ;__eeprom.c: 177: return data; "177 [e ) _data ] -[e $UE 129 ] +[e $UE 125 ] +[; ;__eeprom.c: 178: } "178 -[e :UE 129 ] +[e :UE 125 ] } "180 [p k ] "181 [p n 1516 ] "183 -[v ___otoee `(uo ~T0 @X0 1 ef2`*Ev`uo ] +[v ___otoee `(ul ~T0 @X0 1 ef2`*Ev`ul ] "184 { +[; ;__eeprom.c: 182: unsigned long long +[; ;__eeprom.c: 183: __otoee(__eeprom void *addr, unsigned long long data) +[; ;__eeprom.c: 184: { [e :U ___otoee ] "183 [v _addr `*Ev ~T0 @X0 1 r1 ] -[v _data `uo ~T0 @X0 1 r2 ] +[v _data `ul ~T0 @X0 1 r2 ] "184 [f ] +[; ;__eeprom.c: 185: __memcpyee(addr,(unsigned char *) &data,8); "185 [e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 8 `i `uc ] +[; ;__eeprom.c: 186: return data; "186 [e ) _data ] -[e $UE 130 ] +[e $UE 126 ] +[; ;__eeprom.c: 187: } "187 -[e :UE 130 ] +[e :UE 126 ] } "188 [p o ] @@ -678,6 +1539,9 @@ Version 4.0 HI-TECH Software Intermediate Code [v ___eetoft `(f ~T0 @X0 1 ef1`*Ev ] "192 { +[; ;__eeprom.c: 190: float +[; ;__eeprom.c: 191: __eetoft(__eeprom void *addr) +[; ;__eeprom.c: 192: { [e :U ___eetoft ] "191 [v _addr `*Ev ~T0 @X0 1 r1 ] @@ -685,18 +1549,25 @@ Version 4.0 HI-TECH Software Intermediate Code [f ] "193 [v _data `f ~T0 @X0 1 a ] +[; ;__eeprom.c: 193: float data; +[; ;__eeprom.c: 194: __eecpymem((unsigned char *) &data,addr,3); "194 [e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 3 `i `uc ] +[; ;__eeprom.c: 195: return data; "195 [e ) _data ] -[e $UE 131 ] +[e $UE 127 ] +[; ;__eeprom.c: 196: } "196 -[e :UE 131 ] +[e :UE 127 ] } "199 [v ___eetofl `(d ~T0 @X0 1 ef1`*Ev ] "200 { +[; ;__eeprom.c: 198: double +[; ;__eeprom.c: 199: __eetofl(__eeprom void *addr) +[; ;__eeprom.c: 200: { [e :U ___eetofl ] "199 [v _addr `*Ev ~T0 @X0 1 r1 ] @@ -704,47 +1575,63 @@ Version 4.0 HI-TECH Software Intermediate Code [f ] "201 [v _data `d ~T0 @X0 1 a ] +[; ;__eeprom.c: 201: double data; +[; ;__eeprom.c: 202: __eecpymem((unsigned char *) &data,addr,4); "202 [e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 4 `i `uc ] +[; ;__eeprom.c: 203: return data; "203 [e ) _data ] -[e $UE 132 ] +[e $UE 128 ] +[; ;__eeprom.c: 204: } "204 -[e :UE 132 ] +[e :UE 128 ] } "207 [v ___fttoee `(f ~T0 @X0 1 ef2`*Ev`f ] "208 { +[; ;__eeprom.c: 206: float +[; ;__eeprom.c: 207: __fttoee(__eeprom void *addr, float data) +[; ;__eeprom.c: 208: { [e :U ___fttoee ] "207 [v _addr `*Ev ~T0 @X0 1 r1 ] [v _data `f ~T0 @X0 1 r2 ] "208 [f ] +[; ;__eeprom.c: 209: __memcpyee(addr,(unsigned char *) &data,3); "209 [e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 3 `i `uc ] +[; ;__eeprom.c: 210: return data; "210 [e ) _data ] -[e $UE 133 ] +[e $UE 129 ] +[; ;__eeprom.c: 211: } "211 -[e :UE 133 ] +[e :UE 129 ] } "214 [v ___fltoee `(d ~T0 @X0 1 ef2`*Ev`d ] "215 { +[; ;__eeprom.c: 213: double +[; ;__eeprom.c: 214: __fltoee(__eeprom void *addr, double data) +[; ;__eeprom.c: 215: { [e :U ___fltoee ] "214 [v _addr `*Ev ~T0 @X0 1 r1 ] [v _data `d ~T0 @X0 1 r2 ] "215 [f ] +[; ;__eeprom.c: 216: __memcpyee(addr,(unsigned char *) &data,4); "216 [e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 4 `i `uc ] +[; ;__eeprom.c: 217: return data; "217 [e ) _data ] -[e $UE 134 ] +[e $UE 130 ] +[; ;__eeprom.c: 218: } "218 -[e :UE 134 ] +[e :UE 130 ] } diff --git a/MPLABX Projects/TimerInterrupt.X/main.c b/MPLABX Projects/TimerInterrupt.X/main.c index 2bcf4ef..db5645a 100644 --- a/MPLABX Projects/TimerInterrupt.X/main.c +++ b/MPLABX Projects/TimerInterrupt.X/main.c @@ -15,7 +15,7 @@ unsigned char timer0Counter = 0; unsigned char timer1Counter = 0; unsigned char timer2Counter = 0; -void __interrupt() timersISR(void); +void interrupt timersISR(void); void main(void) { INTCONbits.GIE = 1; // Global Interrupt Enable Bit @@ -72,7 +72,7 @@ void main(void) { return; } -void __interrupt() timersISR(void) { +void interrupt timersISR(void) { /* TIMER 0 */ if (INTCONbits.TMR0IF == 1) { ++timer0Counter; diff --git a/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-default.mk b/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-default.mk index 5672f0d..3b606fb 100644 --- a/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-default.mk +++ b/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-default.mk @@ -92,7 +92,7 @@ ${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/main.p1.d @${RM} ${OBJECTDIR}/main.p1 - ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=none -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits $(COMPARISON_BUILD) -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=none -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c @-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d @${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ @@ -101,7 +101,7 @@ ${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/main.p1.d @${RM} ${OBJECTDIR}/main.p1 - ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits $(COMPARISON_BUILD) -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c @-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d @${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ @@ -124,13 +124,13 @@ endif ifeq ($(TYPE_IMAGE), DEBUG_RUN) ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${DISTDIR} - ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.map -D__DEBUG=1 -mdebugger=none -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.map -D__DEBUG=1 -mdebugger=none -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c90 -gdwarf-3 -mstack=compiled:auto:auto $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} @${RM} ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.hex else ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${DISTDIR} - ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c90 -gdwarf-3 -mstack=compiled:auto:auto $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/TimerInterrupt.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} endif diff --git a/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-genesis.properties b/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-genesis.properties index 2833154..df56ed0 100644 --- a/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-genesis.properties +++ b/MPLABX Projects/TimerInterrupt.X/nbproject/Makefile-genesis.properties @@ -1,12 +1,12 @@ # -#Fri May 17 22:40:03 WEST 2024 +#Mon May 20 18:00:23 WEST 2024 default.languagetoolchain.version=2.45 default.Pack.dfplocation=C\:\\Program Files\\Microchip\\MPLABX\\v6.15\\packs\\Microchip\\PIC16Fxxx_DFP\\1.4.149 conf.ids=default default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc8\\v2.45\\bin host.id=0 default.platformTool.md5=null -configurations-xml=39b9b0e894593f00993cf991a702f021 +configurations-xml=38adafe54195661b98a6be9f87ccc49f com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=e62346c0c0ecee2637e613b49cb7b7fa default.com-microchip-mplab-nbide-toolchain-xc8-XC8LanguageToolchain.md5=486b02ed36e5bdffb1f797e38fa058e5 proj.dir=C\:\\Users\\Choaib ELMADI\\Downloads\\D.I.F.Y\\C - CPP Programming\\PIC16F877A\\MPLABX Projects\\TimerInterrupt.X diff --git a/MPLABX Projects/TimerInterrupt.X/nbproject/configurations.xml b/MPLABX Projects/TimerInterrupt.X/nbproject/configurations.xml index 3ade357..b02a06a 100644 --- a/MPLABX Projects/TimerInterrupt.X/nbproject/configurations.xml +++ b/MPLABX Projects/TimerInterrupt.X/nbproject/configurations.xml @@ -151,7 +151,7 @@ - + diff --git a/Proteus 8 Projects/Project Backups/TimerInterrupt [20240520, 18-02-02].pdsprj b/Proteus 8 Projects/Project Backups/TimerInterrupt [20240520, 18-02-02].pdsprj new file mode 100644 index 0000000..c4b5519 Binary files /dev/null and b/Proteus 8 Projects/Project Backups/TimerInterrupt [20240520, 18-02-02].pdsprj differ diff --git a/Proteus 8 Projects/Project Backups/TimerInterrupt [Autosaved].pdsprj b/Proteus 8 Projects/Project Backups/TimerInterrupt [Autosaved].pdsprj new file mode 100644 index 0000000..7ad4474 Binary files /dev/null and b/Proteus 8 Projects/Project Backups/TimerInterrupt [Autosaved].pdsprj differ diff --git a/Proteus 8 Projects/TimerInterrupt.pdsprj b/Proteus 8 Projects/TimerInterrupt.pdsprj index c4b5519..e5dae41 100644 Binary files a/Proteus 8 Projects/TimerInterrupt.pdsprj and b/Proteus 8 Projects/TimerInterrupt.pdsprj differ diff --git a/Proteus 8 Projects/TimerInterrupt.pdsprj.CHOAIBS-PC.Choaib ELMADI.workspace b/Proteus 8 Projects/TimerInterrupt.pdsprj.CHOAIBS-PC.Choaib ELMADI.workspace index adea2f4..9406e52 100644 --- a/Proteus 8 Projects/TimerInterrupt.pdsprj.CHOAIBS-PC.Choaib ELMADI.workspace +++ b/Proteus 8 Projects/TimerInterrupt.pdsprj.CHOAIBS-PC.Choaib ELMADI.workspace @@ -1,11 +1,11 @@ - 2c00000002000000030000000083ffff0083ffffffffffffffffffff8300000009000000d3040000cf020000 + 2c0000000200000003000000fffffffffffffffffffffffffffffffff8ffffff0a00000008030000d0020000 - + - + @@ -18,9 +18,9 @@ - + - + @@ -87,7 +87,7 @@ - + 2 Yes