Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / device / lib / pic / libdev / pic16f628.c
index 48883a3971007b597c8607e9524e12ea7f74d549..8f9e60e44ac5af698bca4143b083e4386d473223 100644 (file)
@@ -1,13 +1,13 @@
 /* Register definitions for pic16f628.
  * This file was automatically generated by:
- *   inc2h.pl V1.6
+ *   inc2h.pl V4585
  *   Copyright (c) 2002, Kevin L. Pauba, All Rights Reserved
  */
 #include <pic16f628.h>
 
-__data __at (INDF_ADDR) volatile char      INDF;
+__sfr  __at (INDF_ADDR)                    INDF;
 __sfr  __at (TMR0_ADDR)                    TMR0;
-__data __at (PCL_ADDR) volatile char       PCL;
+__sfr  __at (PCL_ADDR)                     PCL;
 __sfr  __at (STATUS_ADDR)                  STATUS;
 __sfr  __at (FSR_ADDR)                     FSR;
 __sfr  __at (PORTA_ADDR)                   PORTA;
@@ -52,10 +52,14 @@ volatile __OPTION_REG_bits_t __at(OPTION_REG_ADDR) OPTION_REG_bits;
 volatile __PCON_bits_t __at(PCON_ADDR) PCON_bits;
 volatile __PIE1_bits_t __at(PIE1_ADDR) PIE1_bits;
 volatile __PIR1_bits_t __at(PIR1_ADDR) PIR1_bits;
+volatile __PORTA_bits_t __at(PORTA_ADDR) PORTA_bits;
+volatile __PORTB_bits_t __at(PORTB_ADDR) PORTB_bits;
 volatile __RCSTA_bits_t __at(RCSTA_ADDR) RCSTA_bits;
 volatile __STATUS_bits_t __at(STATUS_ADDR) STATUS_bits;
 volatile __T1CON_bits_t __at(T1CON_ADDR) T1CON_bits;
 volatile __T2CON_bits_t __at(T2CON_ADDR) T2CON_bits;
+volatile __TRISA_bits_t __at(TRISA_ADDR) TRISA_bits;
+volatile __TRISB_bits_t __at(TRISB_ADDR) TRISB_bits;
 volatile __TXSTA_bits_t __at(TXSTA_ADDR) TXSTA_bits;
 volatile __VRCON_bits_t __at(VRCON_ADDR) VRCON_bits;