* device/lib/pic16/libdev/pic18f*.c,
[fw/sdcc] / device / include / pic16 / pic18f4520.h
index ce55e3b41f4728f0ac8f3dfac26696154b54e2ad..1400956dd83790074eba5e81127a3bb5e3b0c3a3 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef __PIC18F4520_H__
 #define __PIC18F4520_H__ 1
 
-extern __sfr __at 0xF80 PORTA;
+extern __sfr __at (0xF80) PORTA;
 typedef union {
        struct {
                unsigned RA0            : 1;
@@ -54,9 +54,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;
@@ -83,9 +83,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;
@@ -132,9 +132,9 @@ typedef union {
                unsigned                :1;
        };
 } __PORTC_t;
-extern volatile __PORTC_t __at 0xF82 PORTCbits;
+extern volatile __PORTC_t __at (0xF82) PORTCbits;
 
-extern __sfr __at 0xF83 PORTD;
+extern __sfr __at (0xF83) PORTD;
 typedef union {
        struct {
                unsigned RD0            : 1;
@@ -161,9 +161,9 @@ typedef union {
                unsigned ECCPD          :1;
        };
 } __PORTD_t;
-extern volatile __PORTD_t __at 0xF83 PORTDbits;
+extern volatile __PORTD_t __at (0xF83) PORTDbits;
 
-extern __sfr __at 0xF84 PORTE;
+extern __sfr __at (0xF84) PORTE;
 typedef union {
        struct {
                unsigned RE0            : 1;
@@ -190,9 +190,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;
@@ -205,9 +205,9 @@ typedef union {
                unsigned LATA7          : 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;
@@ -220,9 +220,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;
@@ -235,9 +235,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 0xF8C LATD;
+extern __sfr __at (0xF8C) LATD;
 typedef union {
        struct {
                unsigned LATD0          : 1;
@@ -250,9 +250,9 @@ typedef union {
                unsigned LATD7          : 1;
        };
 } __LATD_t;
-extern volatile __LATD_t __at 0xF8C LATDbits;
+extern volatile __LATD_t __at (0xF8C) LATDbits;
 
-extern __sfr __at 0xF8D LATE;
+extern __sfr __at (0xF8D) LATE;
 typedef union {
        struct {
                unsigned LATE0          : 1;
@@ -265,9 +265,9 @@ typedef union {
                unsigned                : 1;
        };
 } __LATE_t;
-extern volatile __LATE_t __at 0xF8D LATEbits;
+extern volatile __LATE_t __at (0xF8D) LATEbits;
 
-extern __sfr __at 0xF92 TRISA;
+extern __sfr __at (0xF92) TRISA;
 typedef union {
        struct {
                unsigned TRISA0         : 1;
@@ -280,9 +280,9 @@ typedef union {
                unsigned TRISA7         : 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;
@@ -295,9 +295,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;
@@ -310,9 +310,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 0xF95 TRISD;
+extern __sfr __at (0xF95) TRISD;
 typedef union {
        struct {
                unsigned TRISD0         : 1;
@@ -325,9 +325,9 @@ typedef union {
                unsigned TRISD7         : 1;
        };
 } __TRISD_t;
-extern volatile __TRISD_t __at 0xF95 TRISDbits;
+extern volatile __TRISD_t __at (0xF95) TRISDbits;
 
-extern __sfr __at 0xF96 TRISE;
+extern __sfr __at (0xF96) TRISE;
 typedef union {
        struct {
                unsigned TRISE0         : 1;
@@ -340,9 +340,9 @@ typedef union {
                unsigned IBF            : 1;
        };
 } __TRISE_t;
-extern volatile __TRISE_t __at 0xF96 TRISEbits;
+extern volatile __TRISE_t __at (0xF96) TRISEbits;
 
-extern __sfr __at 0xF9B OSCTUNE;
+extern __sfr __at (0xF9B) OSCTUNE;
 typedef union {
        struct {
                unsigned TUN            : 5;
@@ -351,9 +351,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;
@@ -366,9 +366,9 @@ typedef union {
                unsigned PSPIE          : 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;
@@ -381,9 +381,9 @@ typedef union {
                unsigned PSPIF          : 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;
@@ -396,9 +396,9 @@ typedef union {
                unsigned PSPIP          : 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;
@@ -411,9 +411,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;
@@ -426,9 +426,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;
@@ -441,9 +441,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;
@@ -456,15 +456,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;
@@ -477,9 +477,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;
@@ -492,17 +492,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;
@@ -514,13 +514,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;
@@ -531,9 +531,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;
@@ -543,9 +543,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 ECCPAS1;
+extern __sfr __at (0xFB6) ECCPAS1;
 typedef union {
        struct {
                unsigned PSSBD          : 2;
@@ -554,18 +554,18 @@ typedef union {
                unsigned ECCPASE        : 1;
        };
 } __ECCPAS1_t;
-extern volatile __ECCPAS1_t __at 0xFB6 ECCPAS1bits;
+extern volatile __ECCPAS1_t __at (0xFB6) ECCPAS1bits;
 
-extern __sfr __at 0xFB7 PWM1CON;
+extern __sfr __at (0xFB7) PWM1CON;
 typedef union {
        struct {
                unsigned PDC            : 7;
                unsigned PRSEN          : 1;
        };
 } __PWM1CON_t;
-extern volatile __PWM1CON_t __at 0xFB7 PWM1CONbits;
+extern volatile __PWM1CON_t __at (0xFB7) PWM1CONbits;
 
-extern __sfr __at 0xFB8 BAUDCON;
+extern __sfr __at (0xFB8) BAUDCON;
 typedef union {
        struct {
                unsigned ABDEN          : 1;
@@ -578,9 +578,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;
@@ -589,13 +589,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 ECCP1CON;
+extern __sfr __at (0xFBD) ECCP1CON;
 typedef union {
        struct {
                unsigned CCP1M          : 4;
@@ -603,13 +603,13 @@ typedef union {
                unsigned P1M            : 2;
        };
 } __ECCP1CON_t;
-extern volatile __ECCP1CON_t __at 0xFBD ECCP1CONbits;
+extern volatile __ECCP1CON_t __at (0xFBD) ECCP1CONbits;
 
-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;
@@ -618,9 +618,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;
@@ -629,9 +629,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;
@@ -641,13 +641,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;
@@ -660,9 +660,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;
@@ -672,9 +672,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;
@@ -687,13 +687,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;
@@ -702,13 +702,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;
@@ -720,13 +720,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;
@@ -739,9 +739,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;
@@ -754,9 +754,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 LVDCON;
+extern __sfr __at (0xFD2) LVDCON;
 typedef union {
        struct {
                unsigned LVDL           : 4;
@@ -766,9 +766,9 @@ typedef union {
                unsigned                : 1;
        };
 } __LVDCON_t;
-extern volatile __LVDCON_t __at 0xFD2 LVDCONbits;
+extern volatile __LVDCON_t __at (0xFD2) LVDCONbits;
 
-extern __sfr __at 0xFD3 OSCCON;
+extern __sfr __at (0xFD3) OSCCON;
 typedef union {
        struct {
                unsigned SCS            : 2;
@@ -778,9 +778,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;
@@ -791,13 +791,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;
@@ -810,11 +810,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;
@@ -824,19 +824,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;
@@ -846,11 +846,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;
@@ -860,23 +860,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;
@@ -886,19 +886,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;
@@ -911,9 +911,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;
@@ -926,9 +926,9 @@ typedef union {
                unsigned                : 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;
@@ -961,19 +961,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;
@@ -982,19 +982,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;
@@ -1003,9 +1003,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;
@@ -1014,13 +1014,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;
@@ -1029,7 +1029,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        CONFIG1H        0x300001