* device/lib/pic16/libdev/pic18f*.c,
[fw/sdcc] / device / include / pic16 / pic18f2550.h
index de04ad728976b7dab392012349c41dc3e421177f..e8b5a103e45fd9df13fbb29420bea53d60ffe76e 100644 (file)
 #ifndef __PIC18F2550_H__
 #define __PIC18F2550_H__ 1
 
-extern __sfr __at 0xF62 SPPDATA;
+extern __sfr __at (0xF62) SPPDATA;
 typedef union {
        struct {
                unsigned DATA           : 8;
        };
 } __SPPDATA_t;
-extern volatile __SPPDATA_t __at 0xF62 SPPDATAbits;
+extern volatile __SPPDATA_t __at (0xF62) SPPDATAbits;
 
-extern __sfr __at 0xF63 SPPCFG;
+extern __sfr __at (0xF63) SPPCFG;
 typedef union {
        struct {
                unsigned WS             : 4;
@@ -34,9 +34,9 @@ typedef union {
                unsigned CLKCFG         : 2;
        };
 } __SPPCFG_t;
-extern volatile __SPPCFG_t __at 0xF63 SPPCFGbits;
+extern volatile __SPPCFG_t __at (0xF63) SPPCFGbits;
 
-extern __sfr __at 0xF64 SPPEPS;
+extern __sfr __at (0xF64) SPPEPS;
 typedef union {
        struct {
                unsigned ADDR           : 4;
@@ -46,9 +46,9 @@ typedef union {
                unsigned RDSPP          : 1;
        };
 } __SPPEPS_t;
-extern volatile __SPPEPS_t __at 0xF64 SPPEPSbits;
+extern volatile __SPPEPS_t __at (0xF64) SPPEPSbits;
 
-extern __sfr __at 0xF65 SPPCON;
+extern __sfr __at (0xF65) SPPCON;
 typedef union {
        struct {
                unsigned SPPEN          : 1;
@@ -61,17 +61,17 @@ typedef union {
                unsigned                : 1;
        };
 } __SPPCON_t;
-extern volatile __SPPCON_t __at 0xF65 SPPCONbits;
+extern volatile __SPPCON_t __at (0xF65) SPPCONbits;
 
-extern __sfr __at 0xF66 UFRML;
+extern __sfr __at (0xF66) UFRML;
 typedef union {
        struct {
                unsigned FRM            : 8;
        };
 } __UFRML_t;
-extern volatile __UFRML_t __at 0xF66 UFRMLbits;
+extern volatile __UFRML_t __at (0xF66) UFRMLbits;
 
-extern __sfr __at 0xF67 UFRMH;
+extern __sfr __at (0xF67) UFRMH;
 typedef union {
        struct {
                unsigned FRM            : 3;
@@ -82,9 +82,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UFRMH_t;
-extern volatile __UFRMH_t __at 0xF67 UFRMHbits;
+extern volatile __UFRMH_t __at (0xF67) UFRMHbits;
 
-extern __sfr __at 0xF68 UIR;
+extern __sfr __at (0xF68) UIR;
 typedef union {
        struct {
                unsigned URSTIF         : 1;
@@ -97,9 +97,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UIR_t;
-extern volatile __UIR_t __at 0xF68 UIRbits;
+extern volatile __UIR_t __at (0xF68) UIRbits;
 
-extern __sfr __at 0xF69 UIE;
+extern __sfr __at (0xF69) UIE;
 typedef union {
        struct {
                unsigned URSTIE         : 1;
@@ -112,9 +112,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UIE_t;
-extern volatile __UIE_t __at 0xF69 UIEbits;
+extern volatile __UIE_t __at (0xF69) UIEbits;
 
-extern __sfr __at 0xF6A UEIR;
+extern __sfr __at (0xF6A) UEIR;
 typedef union {
        struct {
                unsigned PIDEF          : 1;
@@ -127,9 +127,9 @@ typedef union {
                unsigned BTSEF          : 1;
        };
 } __UEIR_t;
-extern volatile __UEIR_t __at 0xF6A UEIRbits;
+extern volatile __UEIR_t __at (0xF6A) UEIRbits;
 
-extern __sfr __at 0xF6B UEIE;
+extern __sfr __at (0xF6B) UEIE;
 typedef union {
        struct {
                unsigned PIDEE          : 1;
@@ -142,9 +142,9 @@ typedef union {
                unsigned BTSEE          : 1;
        };
 } __UEIE_t;
-extern volatile __UEIE_t __at 0xF6B UEIEbits;
+extern volatile __UEIE_t __at (0xF6B) UEIEbits;
 
-extern __sfr __at 0xF6C USTAT;
+extern __sfr __at (0xF6C) USTAT;
 typedef union {
        struct {
                unsigned                : 1;
@@ -154,9 +154,9 @@ typedef union {
                unsigned                : 1;
        };
 } __USTAT_t;
-extern volatile __USTAT_t __at 0xF6C USTATbits;
+extern volatile __USTAT_t __at (0xF6C) USTATbits;
 
-extern __sfr __at 0xF6D UCON;
+extern __sfr __at (0xF6D) UCON;
 typedef union {
        struct {
                unsigned                : 1;
@@ -169,18 +169,18 @@ typedef union {
                unsigned                : 1;
        };
 } __UCON_t;
-extern volatile __UCON_t __at 0xF6D UCONbits;
+extern volatile __UCON_t __at (0xF6D) UCONbits;
 
-extern __sfr __at 0xF6E UADDR;
+extern __sfr __at (0xF6E) UADDR;
 typedef union {
        struct {
                unsigned ADDR           : 7;
                unsigned                : 1;
        };
 } __UADDR_t;
-extern volatile __UADDR_t __at 0xF6E UADDRbits;
+extern volatile __UADDR_t __at (0xF6E) UADDRbits;
 
-extern __sfr __at 0xF6F UCFG;
+extern __sfr __at (0xF6F) UCFG;
 typedef union {
        struct {
                unsigned PPB            : 2;
@@ -192,9 +192,9 @@ typedef union {
                unsigned UTEYE          : 1;
        };
 } __UCFG_t;
-extern volatile __UCFG_t __at 0xF6F UCFGbits;
+extern volatile __UCFG_t __at (0xF6F) UCFGbits;
 
-extern __sfr __at 0xF70 UEP0;
+extern __sfr __at (0xF70) UEP0;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -207,9 +207,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP0_t;
-extern volatile __UEP0_t __at 0xF70 UEP0bits;
+extern volatile __UEP0_t __at (0xF70) UEP0bits;
 
-extern __sfr __at 0xF71 UEP1;
+extern __sfr __at (0xF71) UEP1;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -222,9 +222,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP1_t;
-extern volatile __UEP1_t __at 0xF71 UEP1bits;
+extern volatile __UEP1_t __at (0xF71) UEP1bits;
 
-extern __sfr __at 0xF72 UEP2;
+extern __sfr __at (0xF72) UEP2;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -237,9 +237,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP2_t;
-extern volatile __UEP2_t __at 0xF72 UEP2bits;
+extern volatile __UEP2_t __at (0xF72) UEP2bits;
 
-extern __sfr __at 0xF73 UEP3;
+extern __sfr __at (0xF73) UEP3;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -252,9 +252,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP3_t;
-extern volatile __UEP3_t __at 0xF73 UEP3bits;
+extern volatile __UEP3_t __at (0xF73) UEP3bits;
 
-extern __sfr __at 0xF74 UEP4;
+extern __sfr __at (0xF74) UEP4;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -267,9 +267,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP4_t;
-extern volatile __UEP4_t __at 0xF74 UEP4bits;
+extern volatile __UEP4_t __at (0xF74) UEP4bits;
 
-extern __sfr __at 0xF75 UEP5;
+extern __sfr __at (0xF75) UEP5;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -282,9 +282,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP5_t;
-extern volatile __UEP5_t __at 0xF75 UEP5bits;
+extern volatile __UEP5_t __at (0xF75) UEP5bits;
 
-extern __sfr __at 0xF76 UEP6;
+extern __sfr __at (0xF76) UEP6;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -297,9 +297,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP6_t;
-extern volatile __UEP6_t __at 0xF76 UEP6bits;
+extern volatile __UEP6_t __at (0xF76) UEP6bits;
 
-extern __sfr __at 0xF77 UEP7;
+extern __sfr __at (0xF77) UEP7;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -312,9 +312,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP7_t;
-extern volatile __UEP7_t __at 0xF77 UEP7bits;
+extern volatile __UEP7_t __at (0xF77) UEP7bits;
 
-extern __sfr __at 0xF78 UEP8;
+extern __sfr __at (0xF78) UEP8;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -327,9 +327,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP8_t;
-extern volatile __UEP8_t __at 0xF78 UEP8bits;
+extern volatile __UEP8_t __at (0xF78) UEP8bits;
 
-extern __sfr __at 0xF79 UEP9;
+extern __sfr __at (0xF79) UEP9;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -342,9 +342,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP9_t;
-extern volatile __UEP9_t __at 0xF79 UEP9bits;
+extern volatile __UEP9_t __at (0xF79) UEP9bits;
 
-extern __sfr __at 0xF7A UEP10;
+extern __sfr __at (0xF7A) UEP10;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -357,9 +357,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP10_t;
-extern volatile __UEP10_t __at 0xF7A UEP10bits;
+extern volatile __UEP10_t __at (0xF7A) UEP10bits;
 
-extern __sfr __at 0xF7B UEP11;
+extern __sfr __at (0xF7B) UEP11;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -372,9 +372,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP11_t;
-extern volatile __UEP11_t __at 0xF7B UEP11bits;
+extern volatile __UEP11_t __at (0xF7B) UEP11bits;
 
-extern __sfr __at 0xF7C UEP12;
+extern __sfr __at (0xF7C) UEP12;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -387,9 +387,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP12_t;
-extern volatile __UEP12_t __at 0xF7C UEP12bits;
+extern volatile __UEP12_t __at (0xF7C) UEP12bits;
 
-extern __sfr __at 0xF7D UEP13;
+extern __sfr __at (0xF7D) UEP13;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -402,9 +402,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP13_t;
-extern volatile __UEP13_t __at 0xF7D UEP13bits;
+extern volatile __UEP13_t __at (0xF7D) UEP13bits;
 
-extern __sfr __at 0xF7E UEP14;
+extern __sfr __at (0xF7E) UEP14;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -417,9 +417,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP14_t;
-extern volatile __UEP14_t __at 0xF7E UEP14bits;
+extern volatile __UEP14_t __at (0xF7E) UEP14bits;
 
-extern __sfr __at 0xF7F UEP15;
+extern __sfr __at (0xF7F) UEP15;
 typedef union {
        struct {
                unsigned EPSTALL        : 1;
@@ -432,9 +432,9 @@ typedef union {
                unsigned                : 1;
        };
 } __UEP15_t;
-extern volatile __UEP15_t __at 0xF7F UEP15bits;
+extern volatile __UEP15_t __at (0xF7F) UEP15bits;
 
-extern __sfr __at 0xF80 PORTA;
+extern __sfr __at (0xF80) PORTA;
 typedef union {
        struct {
                unsigned RA0            : 1;
@@ -471,9 +471,9 @@ typedef union {
                unsigned                :1;
        };
 } __PORTA_t;
-extern volatile __PORTA_t __at 0xF80 PORTAbits;
+extern volatile __PORTA_t __at (0xF80) PORTAbits;
 
-extern __sfr __at 0xF81 PORTB;
+extern __sfr __at (0xF81) PORTB;
 typedef union {
        struct {
                unsigned RB0            : 1;
@@ -500,9 +500,9 @@ typedef union {
                unsigned                :1;
        };
 } __PORTB_t;
-extern volatile __PORTB_t __at 0xF81 PORTBbits;
+extern volatile __PORTB_t __at (0xF81) PORTBbits;
 
-extern __sfr __at 0xF82 PORTC;
+extern __sfr __at (0xF82) PORTC;
 typedef union {
        struct {
                unsigned RC0            : 1;
@@ -549,9 +549,9 @@ typedef union {
                unsigned                :1;
        };
 } __PORTC_t;
-extern volatile __PORTC_t __at 0xF82 PORTCbits;
+extern volatile __PORTC_t __at (0xF82) PORTCbits;
 
-extern __sfr __at 0xF84 PORTE;
+extern __sfr __at (0xF84) PORTE;
 typedef union {
        struct {
                unsigned                : 1;
@@ -578,9 +578,9 @@ typedef union {
                unsigned                :1;
        };
 } __PORTE_t;
-extern volatile __PORTE_t __at 0xF84 PORTEbits;
+extern volatile __PORTE_t __at (0xF84) PORTEbits;
 
-extern __sfr __at 0xF89 LATA;
+extern __sfr __at (0xF89) LATA;
 typedef union {
        struct {
                unsigned LATA0          : 1;
@@ -593,9 +593,9 @@ typedef union {
                unsigned                : 1;
        };
 } __LATA_t;
-extern volatile __LATA_t __at 0xF89 LATAbits;
+extern volatile __LATA_t __at (0xF89) LATAbits;
 
-extern __sfr __at 0xF8A LATB;
+extern __sfr __at (0xF8A) LATB;
 typedef union {
        struct {
                unsigned LATB0          : 1;
@@ -608,9 +608,9 @@ typedef union {
                unsigned LATB7          : 1;
        };
 } __LATB_t;
-extern volatile __LATB_t __at 0xF8A LATBbits;
+extern volatile __LATB_t __at (0xF8A) LATBbits;
 
-extern __sfr __at 0xF8B LATC;
+extern __sfr __at (0xF8B) LATC;
 typedef union {
        struct {
                unsigned LATC0          : 1;
@@ -623,9 +623,9 @@ typedef union {
                unsigned LATC7          : 1;
        };
 } __LATC_t;
-extern volatile __LATC_t __at 0xF8B LATCbits;
+extern volatile __LATC_t __at (0xF8B) LATCbits;
 
-extern __sfr __at 0xF92 TRISA;
+extern __sfr __at (0xF92) TRISA;
 typedef union {
        struct {
                unsigned TRISA0         : 1;
@@ -638,9 +638,9 @@ typedef union {
                unsigned                : 1;
        };
 } __TRISA_t;
-extern volatile __TRISA_t __at 0xF92 TRISAbits;
+extern volatile __TRISA_t __at (0xF92) TRISAbits;
 
-extern __sfr __at 0xF93 TRISB;
+extern __sfr __at (0xF93) TRISB;
 typedef union {
        struct {
                unsigned TRISB0         : 1;
@@ -653,9 +653,9 @@ typedef union {
                unsigned TRISB7         : 1;
        };
 } __TRISB_t;
-extern volatile __TRISB_t __at 0xF93 TRISBbits;
+extern volatile __TRISB_t __at (0xF93) TRISBbits;
 
-extern __sfr __at 0xF94 TRISC;
+extern __sfr __at (0xF94) TRISC;
 typedef union {
        struct {
                unsigned TRISC0         : 1;
@@ -668,9 +668,9 @@ typedef union {
                unsigned TRISC7         : 1;
        };
 } __TRISC_t;
-extern volatile __TRISC_t __at 0xF94 TRISCbits;
+extern volatile __TRISC_t __at (0xF94) TRISCbits;
 
-extern __sfr __at 0xF9B OSCTUNE;
+extern __sfr __at (0xF9B) OSCTUNE;
 typedef union {
        struct {
                unsigned TUN            : 5;
@@ -679,9 +679,9 @@ typedef union {
                unsigned HF256DIV       : 1;
        };
 } __OSCTUNE_t;
-extern volatile __OSCTUNE_t __at 0xF9B OSCTUNEbits;
+extern volatile __OSCTUNE_t __at (0xF9B) OSCTUNEbits;
 
-extern __sfr __at 0xF9D PIE1;
+extern __sfr __at (0xF9D) PIE1;
 typedef union {
        struct {
                unsigned TMR1IE         : 1;
@@ -694,9 +694,9 @@ typedef union {
                unsigned                : 1;
        };
 } __PIE1_t;
-extern volatile __PIE1_t __at 0xF9D PIE1bits;
+extern volatile __PIE1_t __at (0xF9D) PIE1bits;
 
-extern __sfr __at 0xF9E PIR1;
+extern __sfr __at (0xF9E) PIR1;
 typedef union {
        struct {
                unsigned TMR1IF         : 1;
@@ -709,9 +709,9 @@ typedef union {
                unsigned                : 1;
        };
 } __PIR1_t;
-extern volatile __PIR1_t __at 0xF9E PIR1bits;
+extern volatile __PIR1_t __at (0xF9E) PIR1bits;
 
-extern __sfr __at 0xF9F IPR1;
+extern __sfr __at (0xF9F) IPR1;
 typedef union {
        struct {
                unsigned TMR1IP         : 1;
@@ -724,9 +724,9 @@ typedef union {
                unsigned                : 1;
        };
 } __IPR1_t;
-extern volatile __IPR1_t __at 0xF9F IPR1bits;
+extern volatile __IPR1_t __at (0xF9F) IPR1bits;
 
-extern __sfr __at 0xFA0 PIE2;
+extern __sfr __at (0xFA0) PIE2;
 typedef union {
        struct {
                unsigned CCP2IE         : 1;
@@ -739,9 +739,9 @@ typedef union {
                unsigned OSCFIE         : 1;
        };
 } __PIE2_t;
-extern volatile __PIE2_t __at 0xFA0 PIE2bits;
+extern volatile __PIE2_t __at (0xFA0) PIE2bits;
 
-extern __sfr __at 0xFA1 PIR2;
+extern __sfr __at (0xFA1) PIR2;
 typedef union {
        struct {
                unsigned CCP2IF         : 1;
@@ -754,9 +754,9 @@ typedef union {
                unsigned OSCFIF         : 1;
        };
 } __PIR2_t;
-extern volatile __PIR2_t __at 0xFA1 PIR2bits;
+extern volatile __PIR2_t __at (0xFA1) PIR2bits;
 
-extern __sfr __at 0xFA2 IPR2;
+extern __sfr __at (0xFA2) IPR2;
 typedef union {
        struct {
                unsigned CCP2IP         : 1;
@@ -769,9 +769,9 @@ typedef union {
                unsigned OSCFIP         : 1;
        };
 } __IPR2_t;
-extern volatile __IPR2_t __at 0xFA2 IPR2bits;
+extern volatile __IPR2_t __at (0xFA2) IPR2bits;
 
-extern __sfr __at 0xFA6 EECON1;
+extern __sfr __at (0xFA6) EECON1;
 typedef union {
        struct {
                unsigned RD             : 1;
@@ -784,15 +784,15 @@ typedef union {
                unsigned EEPGD          : 1;
        };
 } __EECON1_t;
-extern volatile __EECON1_t __at 0xFA6 EECON1bits;
+extern volatile __EECON1_t __at (0xFA6) EECON1bits;
 
-extern __sfr __at 0xFA7 EECON2;
+extern __sfr __at (0xFA7) EECON2;
 
-extern __sfr __at 0xFA8 EEDATA;
+extern __sfr __at (0xFA8) EEDATA;
 
-extern __sfr __at 0xFA9 EEADR;
+extern __sfr __at (0xFA9) EEADR;
 
-extern __sfr __at 0xFAB RCSTA;
+extern __sfr __at (0xFAB) RCSTA;
 typedef union {
        struct {
                unsigned RX9D           : 1;
@@ -805,9 +805,9 @@ typedef union {
                unsigned SPEN           : 1;
        };
 } __RCSTA_t;
-extern volatile __RCSTA_t __at 0xFAB RCSTAbits;
+extern volatile __RCSTA_t __at (0xFAB) RCSTAbits;
 
-extern __sfr __at 0xFAC TXSTA;
+extern __sfr __at (0xFAC) TXSTA;
 typedef union {
        struct {
                unsigned TX9D           : 1;
@@ -820,17 +820,17 @@ typedef union {
                unsigned CSRC           : 1;
        };
 } __TXSTA_t;
-extern volatile __TXSTA_t __at 0xFAC TXSTAbits;
+extern volatile __TXSTA_t __at (0xFAC) TXSTAbits;
 
-extern __sfr __at 0xFAD TXREG;
+extern __sfr __at (0xFAD) TXREG;
 
-extern __sfr __at 0xFAE RCREG;
+extern __sfr __at (0xFAE) RCREG;
 
-extern __sfr __at 0xFAF SPBRG;
+extern __sfr __at (0xFAF) SPBRG;
 
-extern __sfr __at 0xFB0 SPBRGH;
+extern __sfr __at (0xFB0) SPBRGH;
 
-extern __sfr __at 0xFB1 T3CON;
+extern __sfr __at (0xFB1) T3CON;
 typedef union {
        struct {
                unsigned TMR3ON         : 1;
@@ -842,13 +842,13 @@ typedef union {
                unsigned RD16           : 1;
        };
 } __T3CON_t;
-extern volatile __T3CON_t __at 0xFB1 T3CONbits;
+extern volatile __T3CON_t __at (0xFB1) T3CONbits;
 
-extern __sfr __at 0xFB2 TMR3L;
+extern __sfr __at (0xFB2) TMR3L;
 
-extern __sfr __at 0xFB3 TMR3H;
+extern __sfr __at (0xFB3) TMR3H;
 
-extern __sfr __at 0xFB4 CMCON;
+extern __sfr __at (0xFB4) CMCON;
 typedef union {
        struct {
                unsigned CM             : 3;
@@ -859,9 +859,9 @@ typedef union {
                unsigned C2OUT          : 1;
        };
 } __CMCON_t;
-extern volatile __CMCON_t __at 0xFB4 CMCONbits;
+extern volatile __CMCON_t __at (0xFB4) CMCONbits;
 
-extern __sfr __at 0xFB5 CVRCON;
+extern __sfr __at (0xFB5) CVRCON;
 typedef union {
        struct {
                unsigned CVR            : 4;
@@ -871,9 +871,9 @@ typedef union {
                unsigned CVREN          : 1;
        };
 } __CVRCON_t;
-extern volatile __CVRCON_t __at 0xFB5 CVRCONbits;
+extern volatile __CVRCON_t __at (0xFB5) CVRCONbits;
 
-extern __sfr __at 0xFB6 ECCP1AS;
+extern __sfr __at (0xFB6) ECCP1AS;
 typedef union {
        struct {
                unsigned                : 1;
@@ -883,9 +883,9 @@ typedef union {
                unsigned ECCPASE        : 1;
        };
 } __ECCP1AS_t;
-extern volatile __ECCP1AS_t __at 0xFB6 ECCP1ASbits;
+extern volatile __ECCP1AS_t __at (0xFB6) ECCP1ASbits;
 
-extern __sfr __at 0xFB7 ECCP1DEL;
+extern __sfr __at (0xFB7) ECCP1DEL;
 typedef union {
        struct {
                unsigned                : 1;
@@ -898,9 +898,9 @@ typedef union {
                unsigned PRSEN          : 1;
        };
 } __ECCP1DEL_t;
-extern volatile __ECCP1DEL_t __at 0xFB7 ECCP1DELbits;
+extern volatile __ECCP1DEL_t __at (0xFB7) ECCP1DELbits;
 
-extern __sfr __at 0xFB8 BAUDCON;
+extern __sfr __at (0xFB8) BAUDCON;
 typedef union {
        struct {
                unsigned ABDEN          : 1;
@@ -913,9 +913,9 @@ typedef union {
                unsigned ABDOVF         : 1;
        };
 } __BAUDCON_t;
-extern volatile __BAUDCON_t __at 0xFB8 BAUDCONbits;
+extern volatile __BAUDCON_t __at (0xFB8) BAUDCONbits;
 
-extern __sfr __at 0xFBA CCP2CON;
+extern __sfr __at (0xFBA) CCP2CON;
 typedef union {
        struct {
                unsigned CCP2M          : 4;
@@ -924,13 +924,13 @@ typedef union {
                unsigned                : 1;
        };
 } __CCP2CON_t;
-extern volatile __CCP2CON_t __at 0xFBA CCP2CONbits;
+extern volatile __CCP2CON_t __at (0xFBA) CCP2CONbits;
 
-extern __sfr __at 0xFBB CCPR2L;
+extern __sfr __at (0xFBB) CCPR2L;
 
-extern __sfr __at 0xFBC CCPR2H;
+extern __sfr __at (0xFBC) CCPR2H;
 
-extern __sfr __at 0xFBD CCP1CON;
+extern __sfr __at (0xFBD) CCP1CON;
 typedef union {
        struct {
                unsigned CCP1M          : 4;
@@ -939,13 +939,13 @@ typedef union {
                unsigned                : 1;
        };
 } __CCP1CON_t;
-extern volatile __CCP1CON_t __at 0xFBD CCP1CONbits;
+extern volatile __CCP1CON_t __at (0xFBD) CCP1CONbits;
 
-extern __sfr __at 0xFBE CCPR1L;
+extern __sfr __at (0xFBE) CCPR1L;
 
-extern __sfr __at 0xFBF CCPR1H;
+extern __sfr __at (0xFBF) CCPR1H;
 
-extern __sfr __at 0xFC0 ADCON2;
+extern __sfr __at (0xFC0) ADCON2;
 typedef union {
        struct {
                unsigned ADCS           : 3;
@@ -954,9 +954,9 @@ typedef union {
                unsigned ADFM           : 1;
        };
 } __ADCON2_t;
-extern volatile __ADCON2_t __at 0xFC0 ADCON2bits;
+extern volatile __ADCON2_t __at (0xFC0) ADCON2bits;
 
-extern __sfr __at 0xFC1 ADCON1;
+extern __sfr __at (0xFC1) ADCON1;
 typedef union {
        struct {
                unsigned PCFG           : 4;
@@ -965,9 +965,9 @@ typedef union {
                unsigned                : 1;
        };
 } __ADCON1_t;
-extern volatile __ADCON1_t __at 0xFC1 ADCON1bits;
+extern volatile __ADCON1_t __at (0xFC1) ADCON1bits;
 
-extern __sfr __at 0xFC2 ADCON0;
+extern __sfr __at (0xFC2) ADCON0;
 typedef union {
        struct {
                unsigned ADON           : 1;
@@ -977,13 +977,13 @@ typedef union {
                unsigned                : 1;
        };
 } __ADCON0_t;
-extern volatile __ADCON0_t __at 0xFC2 ADCON0bits;
+extern volatile __ADCON0_t __at (0xFC2) ADCON0bits;
 
-extern __sfr __at 0xFC3 ADRESL;
+extern __sfr __at (0xFC3) ADRESL;
 
-extern __sfr __at 0xFC4 ADRESH;
+extern __sfr __at (0xFC4) ADRESH;
 
-extern __sfr __at 0xFC5 SSPCON2;
+extern __sfr __at (0xFC5) SSPCON2;
 typedef union {
        struct {
                unsigned SEN            : 1;
@@ -996,9 +996,9 @@ typedef union {
                unsigned GCEN           : 1;
        };
 } __SSPCON2_t;
-extern volatile __SSPCON2_t __at 0xFC5 SSPCON2bits;
+extern volatile __SSPCON2_t __at (0xFC5) SSPCON2bits;
 
-extern __sfr __at 0xFC6 SSPCON1;
+extern __sfr __at (0xFC6) SSPCON1;
 typedef union {
        struct {
                unsigned SSPM           : 4;
@@ -1008,9 +1008,9 @@ typedef union {
                unsigned WCOL           : 1;
        };
 } __SSPCON1_t;
-extern volatile __SSPCON1_t __at 0xFC6 SSPCON1bits;
+extern volatile __SSPCON1_t __at (0xFC6) SSPCON1bits;
 
-extern __sfr __at 0xFC7 SSPSTAT;
+extern __sfr __at (0xFC7) SSPSTAT;
 typedef union {
        struct {
                unsigned BF             : 1;
@@ -1023,13 +1023,13 @@ typedef union {
                unsigned SMP            : 1;
        };
 } __SSPSTAT_t;
-extern volatile __SSPSTAT_t __at 0xFC7 SSPSTATbits;
+extern volatile __SSPSTAT_t __at (0xFC7) SSPSTATbits;
 
-extern __sfr __at 0xFC8 SSPADD;
+extern __sfr __at (0xFC8) SSPADD;
 
-extern __sfr __at 0xFC9 SSPBUF;
+extern __sfr __at (0xFC9) SSPBUF;
 
-extern __sfr __at 0xFCA T2CON;
+extern __sfr __at (0xFCA) T2CON;
 typedef union {
        struct {
                unsigned T2CKPS         : 2;
@@ -1038,13 +1038,13 @@ typedef union {
                unsigned                : 1;
        };
 } __T2CON_t;
-extern volatile __T2CON_t __at 0xFCA T2CONbits;
+extern volatile __T2CON_t __at (0xFCA) T2CONbits;
 
-extern __sfr __at 0xFCB PR2;
+extern __sfr __at (0xFCB) PR2;
 
-extern __sfr __at 0xFCC TMR2;
+extern __sfr __at (0xFCC) TMR2;
 
-extern __sfr __at 0xFCD T1CON;
+extern __sfr __at (0xFCD) T1CON;
 typedef union {
        struct {
                unsigned TMR1ON         : 1;
@@ -1056,13 +1056,13 @@ typedef union {
                unsigned RD16           : 1;
        };
 } __T1CON_t;
-extern volatile __T1CON_t __at 0xFCD T1CONbits;
+extern volatile __T1CON_t __at (0xFCD) T1CONbits;
 
-extern __sfr __at 0xFCE TMR1L;
+extern __sfr __at (0xFCE) TMR1L;
 
-extern __sfr __at 0xFCF TMR1H;
+extern __sfr __at (0xFCF) TMR1H;
 
-extern __sfr __at 0xFD0 RCON;
+extern __sfr __at (0xFD0) RCON;
 typedef union {
        struct {
                unsigned nBOR           : 1;
@@ -1075,9 +1075,9 @@ typedef union {
                unsigned IPEN           : 1;
        };
 } __RCON_t;
-extern volatile __RCON_t __at 0xFD0 RCONbits;
+extern volatile __RCON_t __at (0xFD0) RCONbits;
 
-extern __sfr __at 0xFD1 WDTCON;
+extern __sfr __at (0xFD1) WDTCON;
 typedef union {
        struct {
                unsigned SWDTEN         : 1;
@@ -1090,9 +1090,9 @@ typedef union {
                unsigned                : 1;
        };
 } __WDTCON_t;
-extern volatile __WDTCON_t __at 0xFD1 WDTCONbits;
+extern volatile __WDTCON_t __at (0xFD1) WDTCONbits;
 
-extern __sfr __at 0xFD2 HLVDCON;
+extern __sfr __at (0xFD2) HLVDCON;
 typedef union {
        struct {
                unsigned HLVDL          : 4;
@@ -1102,9 +1102,9 @@ typedef union {
                unsigned VDIRMAG        : 1;
        };
 } __HLVDCON_t;
-extern volatile __HLVDCON_t __at 0xFD2 HLVDCONbits;
+extern volatile __HLVDCON_t __at (0xFD2) HLVDCONbits;
 
-extern __sfr __at 0xFD3 OSCCON;
+extern __sfr __at (0xFD3) OSCCON;
 typedef union {
        struct {
                unsigned SCS            : 2;
@@ -1114,9 +1114,9 @@ typedef union {
                unsigned IDLEN          : 1;
        };
 } __OSCCON_t;
-extern volatile __OSCCON_t __at 0xFD3 OSCCONbits;
+extern volatile __OSCCON_t __at (0xFD3) OSCCONbits;
 
-extern __sfr __at 0xFD5 T0CON;
+extern __sfr __at (0xFD5) T0CON;
 typedef union {
        struct {
                unsigned T0PS           : 3;
@@ -1127,13 +1127,13 @@ typedef union {
                unsigned TMR0ON         : 1;
        };
 } __T0CON_t;
-extern volatile __T0CON_t __at 0xFD5 T0CONbits;
+extern volatile __T0CON_t __at (0xFD5) T0CONbits;
 
-extern __sfr __at 0xFD6 TMR0L;
+extern __sfr __at (0xFD6) TMR0L;
 
-extern __sfr __at 0xFD7 TMR0H;
+extern __sfr __at (0xFD7) TMR0H;
 
-extern __sfr __at 0xFD8 STATUS;
+extern __sfr __at (0xFD8) STATUS;
 typedef union {
        struct {
                unsigned C              : 1;
@@ -1146,11 +1146,11 @@ typedef union {
                unsigned                : 1;
        };
 } __STATUS_t;
-extern volatile __STATUS_t __at 0xFD8 STATUSbits;
+extern volatile __STATUS_t __at (0xFD8) STATUSbits;
 
-extern __sfr __at 0xFD9 FSR2L;
+extern __sfr __at (0xFD9) FSR2L;
 
-extern __sfr __at 0xFDA FSR2H;
+extern __sfr __at (0xFDA) FSR2H;
 typedef union {
        struct {
                unsigned FSR2H          : 4;
@@ -1160,19 +1160,19 @@ typedef union {
                unsigned                : 1;
        };
 } __FSR2H_t;
-extern volatile __FSR2H_t __at 0xFDA FSR2Hbits;
+extern volatile __FSR2H_t __at (0xFDA) FSR2Hbits;
 
-extern __sfr __at 0xFDB PLUSW2;
+extern __sfr __at (0xFDB) PLUSW2;
 
-extern __sfr __at 0xFDC PREINC2;
+extern __sfr __at (0xFDC) PREINC2;
 
-extern __sfr __at 0xFDD POSTDEC2;
+extern __sfr __at (0xFDD) POSTDEC2;
 
-extern __sfr __at 0xFDE POSTINC2;
+extern __sfr __at (0xFDE) POSTINC2;
 
-extern __sfr __at 0xFDF INDF2;
+extern __sfr __at (0xFDF) INDF2;
 
-extern __sfr __at 0xFE0 BSR;
+extern __sfr __at (0xFE0) BSR;
 typedef union {
        struct {
                unsigned BSR            : 4;
@@ -1182,11 +1182,11 @@ typedef union {
                unsigned                : 1;
        };
 } __BSR_t;
-extern volatile __BSR_t __at 0xFE0 BSRbits;
+extern volatile __BSR_t __at (0xFE0) BSRbits;
 
-extern __sfr __at 0xFE1 FSR1L;
+extern __sfr __at (0xFE1) FSR1L;
 
-extern __sfr __at 0xFE2 FSR1H;
+extern __sfr __at (0xFE2) FSR1H;
 typedef union {
        struct {
                unsigned FSR1H          : 4;
@@ -1196,23 +1196,23 @@ typedef union {
                unsigned                : 1;
        };
 } __FSR1H_t;
-extern volatile __FSR1H_t __at 0xFE2 FSR1Hbits;
+extern volatile __FSR1H_t __at (0xFE2) FSR1Hbits;
 
-extern __sfr __at 0xFE3 PLUSW1;
+extern __sfr __at (0xFE3) PLUSW1;
 
-extern __sfr __at 0xFE4 PREINC1;
+extern __sfr __at (0xFE4) PREINC1;
 
-extern __sfr __at 0xFE5 POSTDEC1;
+extern __sfr __at (0xFE5) POSTDEC1;
 
-extern __sfr __at 0xFE6 POSTINC1;
+extern __sfr __at (0xFE6) POSTINC1;
 
-extern __sfr __at 0xFE7 INDF1;
+extern __sfr __at (0xFE7) INDF1;
 
-extern __sfr __at 0xFE8 WREG;
+extern __sfr __at (0xFE8) WREG;
 
-extern __sfr __at 0xFE9 FSR0L;
+extern __sfr __at (0xFE9) FSR0L;
 
-extern __sfr __at 0xFEA FSR0H;
+extern __sfr __at (0xFEA) FSR0H;
 typedef union {
        struct {
                unsigned FSR0H          : 4;
@@ -1222,19 +1222,19 @@ typedef union {
                unsigned                : 1;
        };
 } __FSR0H_t;
-extern volatile __FSR0H_t __at 0xFEA FSR0Hbits;
+extern volatile __FSR0H_t __at (0xFEA) FSR0Hbits;
 
-extern __sfr __at 0xFEB PLUSW0;
+extern __sfr __at (0xFEB) PLUSW0;
 
-extern __sfr __at 0xFEC PREINC0;
+extern __sfr __at (0xFEC) PREINC0;
 
-extern __sfr __at 0xFED POSTDEC0;
+extern __sfr __at (0xFED) POSTDEC0;
 
-extern __sfr __at 0xFEE POSTINC0;
+extern __sfr __at (0xFEE) POSTINC0;
 
-extern __sfr __at 0xFEF INDF0;
+extern __sfr __at (0xFEF) INDF0;
 
-extern __sfr __at 0xFF0 INTCON3;
+extern __sfr __at (0xFF0) INTCON3;
 typedef union {
        struct {
                unsigned INT1IF         : 1;
@@ -1247,9 +1247,9 @@ typedef union {
                unsigned INT2IP         : 1;
        };
 } __INTCON3_t;
-extern volatile __INTCON3_t __at 0xFF0 INTCON3bits;
+extern volatile __INTCON3_t __at (0xFF0) INTCON3bits;
 
-extern __sfr __at 0xFF1 INTCON2;
+extern __sfr __at (0xFF1) INTCON2;
 typedef union {
        struct {
                unsigned RBIP           : 1;
@@ -1262,9 +1262,9 @@ typedef union {
                unsigned nRBPU          : 1;
        };
 } __INTCON2_t;
-extern volatile __INTCON2_t __at 0xFF1 INTCON2bits;
+extern volatile __INTCON2_t __at (0xFF1) INTCON2bits;
 
-extern __sfr __at 0xFF2 INTCON;
+extern __sfr __at (0xFF2) INTCON;
 typedef union {
        struct {
                unsigned RBIF           : 1;
@@ -1297,19 +1297,19 @@ typedef union {
                unsigned GIEH           : 1;
        };
 } __INTCON_t;
-extern volatile __INTCON_t __at 0xFF2 INTCONbits;
+extern volatile __INTCON_t __at (0xFF2) INTCONbits;
 
-extern __sfr __at 0xFF3 PRODL;
+extern __sfr __at (0xFF3) PRODL;
 
-extern __sfr __at 0xFF4 PRODH;
+extern __sfr __at (0xFF4) PRODH;
 
-extern __sfr __at 0xFF5 TABLAT;
+extern __sfr __at (0xFF5) TABLAT;
 
-extern __sfr __at 0xFF6 TBLPTRL;
+extern __sfr __at (0xFF6) TBLPTRL;
 
-extern __sfr __at 0xFF7 TBLPTRH;
+extern __sfr __at (0xFF7) TBLPTRH;
 
-extern __sfr __at 0xFF8 TBLPTRU;
+extern __sfr __at (0xFF8) TBLPTRU;
 typedef union {
        struct {
                unsigned TBLPTRU        : 5;
@@ -1318,19 +1318,19 @@ typedef union {
                unsigned                : 1;
        };
 } __TBLPTRU_t;
-extern volatile __TBLPTRU_t __at 0xFF8 TBLPTRUbits;
+extern volatile __TBLPTRU_t __at (0xFF8) TBLPTRUbits;
 
-extern __sfr __at 0xFF9 PCL;
+extern __sfr __at (0xFF9) PCL;
 
-extern __sfr __at 0xFFA PCLATH;
+extern __sfr __at (0xFFA) PCLATH;
 typedef union {
        struct {
                unsigned PCH            : 8;
        };
 } __PCLATH_t;
-extern volatile __PCLATH_t __at 0xFFA PCLATHbits;
+extern volatile __PCLATH_t __at (0xFFA) PCLATHbits;
 
-extern __sfr __at 0xFFB PCLATU;
+extern __sfr __at (0xFFB) PCLATU;
 typedef union {
        struct {
                unsigned PCU            : 5;
@@ -1339,9 +1339,9 @@ typedef union {
                unsigned                : 1;
        };
 } __PCLATU_t;
-extern volatile __PCLATU_t __at 0xFFB PCLATUbits;
+extern volatile __PCLATU_t __at (0xFFB) PCLATUbits;
 
-extern __sfr __at 0xFFC STKPTR;
+extern __sfr __at (0xFFC) STKPTR;
 typedef union {
        struct {
                unsigned STKPTR         : 5;
@@ -1350,13 +1350,13 @@ typedef union {
                unsigned STKFUL         : 1;
        };
 } __STKPTR_t;
-extern volatile __STKPTR_t __at 0xFFC STKPTRbits;
+extern volatile __STKPTR_t __at (0xFFC) STKPTRbits;
 
-extern __sfr __at 0xFFD TOSL;
+extern __sfr __at (0xFFD) TOSL;
 
-extern __sfr __at 0xFFE TOSH;
+extern __sfr __at (0xFFE) TOSH;
 
-extern __sfr __at 0xFFF TOSU;
+extern __sfr __at (0xFFF) TOSU;
 typedef union {
        struct {
                unsigned TOSU           : 5;
@@ -1365,7 +1365,7 @@ typedef union {
                unsigned                : 1;
        };
 } __TOSU_t;
-extern volatile __TOSU_t __at 0xFFF TOSUbits;
+extern volatile __TOSU_t __at (0xFFF) TOSUbits;
 
 /* Configuration register locations */
 #define        CONFIG1L        0x300000