#define emitSETC pic16_emitpcode(POC_BSF, pic16_popCopyGPR2Bit(PCOP(&pic16_pc_status),PIC_C_BIT))
#define emitSETDC pic16_emitpcode(POC_BSF, pic16_popCopyGPR2Bit(PCOP(&pic16_pc_status),PIC_DC_BIT))
+#define emitTOGC pic16_emitpcode(POC_BTG, pic16_popCopyGPR2Bit(PCOP(&pic16_pc_status),PIC_C_BIT))
+
int pic16_getDataSize(operand *op);
void pic16_emitpcode(PIC_OPCODE poc, pCodeOp *pcop);
void pic16_emitpLabel(int key);
bool pic16_sameRegs (asmop *aop1, asmop *aop2 );
char *pic16_aopGet (asmop *aop, int offset, bool bit16, bool dname);
void DEBUGpic16_pic16_AopType(int line_no, operand *left, operand *right, operand *result);
+void DEBUGpic16_pic16_AopTypeSign(int line_no, operand *left, operand *right, operand *result);
bool pic16_genPlusIncr (iCode *ic);
void pic16_addSign(operand *result, int offset, int sign);
void pic16_genMinusBits (iCode *ic);
void pic16_genMinus (iCode *ic);
+void pic16_genLeftShiftLiteral (operand *left, operand *right, operand *result, iCode *ic);
+pCodeOp *pic16_popGet2p(pCodeOp *src, pCodeOp *dst);
+void pic16_emitpcomment (char *fmt, ...);
pCodeOp *pic16_popGetLabel(unsigned int key);
pCodeOp *pic16_popCopyReg(pCodeOpReg *pc);
void pic16_toBoolean(operand *oper);
void pic16_freeAsmop (operand *op, asmop *aaop, iCode *ic, bool pop);
const char *pic16_pCodeOpType( pCodeOp *pcop);
+int pic16_my_powof2 (unsigned long num);
+void pic16_mov2w (asmop *aop, int offset);
void dumpiCode(iCode *lic);
+int inWparamList(char *s);
+
+#define DUMP_FUNCTION_ENTRY 1
+#define DUMP_FUNCTION_EXIT 0
+
+#if DUMP_FUNCTION_ENTRY
+#define FENTRY pic16_emitpcomment("**{\t%d %s", __LINE__, __FUNCTION__)
+#define FENTRY2 if(pic16_options.debgen&2)pic16_emitpcomment("**{\t%d %s", __LINE__, __FUNCTION__)
+#endif
+
+#if DUMP_FUNCTION_EXIT
+#define FEXIT pic16_emitpcomment("; **}", "%d %s", __LINE__, __FUNCTION__)
+#define FEXIT2 if(pic16_options.debgen&2)pic16_emitpcomment("**{\t%d %s", __LINE__, __FUNCTION__)
+#endif
+
+#define ERROR werror(W_POSSBUG2, __FILE__, __LINE__)
#endif