* Makefile.in, configure.in, configure,
[fw/sdcc] / src / pic16 / gen.h
index 9411174bc0182833281ded7314549ece0d480728..437fa83b72cf5e5beb99a6e4eb082f58d43b7324 100644 (file)
 #ifndef SDCCGENPIC16_H
 #define SDCCGENPIC16_H
 
+/* If you change these, you also have to update the library files
+ * device/lib/pic16/libsdcc/gptr{get,put}{1,2,3,4}.c */
+#define GPTR_TAG_DATA   0x80
+#define GPTR_TAG_EEPROM 0x40
+#define GPTR_TAG_CODE   0x00    /* must be 0 becaue of UPPER(sym)==0 */
+
 struct pCodeOp;
 
 enum