* .version: bumped version to 2.5.6 (pic14 ABI changed)
[fw/sdcc] / device / lib / pic / libdev / pic16f84.c
diff --git a/device/lib/pic/libdev/pic16f84.c b/device/lib/pic/libdev/pic16f84.c
new file mode 100644 (file)
index 0000000..bf0bd8f
--- /dev/null
@@ -0,0 +1,32 @@
+/* Register definitions for pic16f84.
+ * This file was automatically generated by:
+ *   inc2h.pl V1.6
+ *   Copyright (c) 2002, Kevin L. Pauba, All Rights Reserved
+ */
+#include <pic16f84.h>
+
+data __at (INDF_ADDR) volatile char      INDF;
+sfr  __at (TMR0_ADDR)                    TMR0;
+data __at (PCL_ADDR) volatile char       PCL;
+sfr  __at (STATUS_ADDR)                  STATUS;
+sfr  __at (FSR_ADDR)                     FSR;
+sfr  __at (PORTA_ADDR)                   PORTA;
+sfr  __at (PORTB_ADDR)                   PORTB;
+sfr  __at (EEDATA_ADDR)                  EEDATA;
+sfr  __at (EEADR_ADDR)                   EEADR;
+sfr  __at (PCLATH_ADDR)                  PCLATH;
+sfr  __at (INTCON_ADDR)                  INTCON;
+sfr  __at (OPTION_REG_ADDR)              OPTION_REG;
+sfr  __at (TRISA_ADDR)                   TRISA;
+sfr  __at (TRISB_ADDR)                   TRISB;
+sfr  __at (EECON1_ADDR)                  EECON1;
+sfr  __at (EECON2_ADDR)                  EECON2;
+
+// 
+// bitfield definitions
+// 
+volatile __EECON1_bits_t __at(EECON1_ADDR) EECON1_bits;
+volatile __INTCON_bits_t __at(INTCON_ADDR) INTCON_bits;
+volatile __OPTION_REG_bits_t __at(OPTION_REG_ADDR) OPTION_REG_bits;
+volatile __STATUS_bits_t __at(STATUS_ADDR) STATUS_bits;
+