*** empty log message ***
[fw/sdcc] / src / pic / ralloc.h
index c0801c2865d26784bfef82d7a15f4b6465169764..b99341b8504e18b7c0ffcf4d96dfdd70905e1cd1 100644 (file)
@@ -71,5 +71,11 @@ regs *pic14_regWithIdx (int);
 void  pic14_freeAllRegs ();
 void  pic14_deallocateAllRegs ();
 regs *pic14_findFreeReg(short type);
+regs *pic14_allocWithIdx (int idx);
+
+/* Define register address that are constant across PIC family */
+#define IDX_INDF    0
+#define IDX_FSR     4
+#define IDX_KZ      0x7fff   /* Known zero - actually just a general purpose reg. */
 
 #endif