+2005-10-04 Raphael Neider <rneider AT web.de>
+
+ * device/include/pic16/pic18fregs.h, src/pic16/devices.inc,
+ device/lib/pic16/pics.all: added pic18f1320
+ * src/pic16/pcode.c (mnem2key): fixed prototype's argument mismatch
+
2005-09-30 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (Pics16[]): moved device descriptions to devices.inc
{ 0, 0 }, { 0, 0 }, { 0, 0 } }
}
},
+ {
+ {"p18f1320", "18f1320", "pic18f1320", "f1320"},
+ 0,
+ 0x100, /* 256 */
+ 0x80,
+ 0,
+ { 0xf80, 0xfff }, /* PIC18F1320 range of SFR's */
+ {
+ /* PIC18F1320 configuration words */
+ 0x300001,
+ 0x30000d,
+ { { 0xcf, 0, 0xff } /* 1 */ , { 0x0f, 0, 0xff } /* 2 */ , { 0x1f, 0, 0xff } /* 3 */ ,
+ { -1, 0, 0xff } /* 4 */ , { 0x80, 0, 0xff } /* 5 */ , { 0x85, 0, 0xff } /* 6 */ ,
+ { -1, 0, 0xff } /* 7 */ , { 0x03, 0, 0xff } /* 8 */ , { 0xc0, 0, 0xff } /* 9 */ ,
+ { 0x03, 0, 0xff } /* a */ , { 0xe0, 0, 0xff } /* b */ , { 0x03, 0, 0xff } /* c */ ,
+ { 0x40, 0, 0xff } /* d */ }
+ },
+ { 0x200000, 0x200007,
+ { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
+ { 0, 0 }, { 0, 0 }, { 0, 0 } }
+ }
+ },
{
{"p18f2220", "18f2220", "pic18f2220", "f2220"},
0,
extern void pic16_pCodeRegOptimizeRegUsage(int level);
extern int pic16_picIsInitialized(void);
extern void SAFE_snprintf(char **str, size_t *size, const char *format, ...);
-extern int mnem2key(char const *mnem);
+extern int mnem2key(unsigned char const *mnem);
/****************************************************************/
/* Forward declarations */