void genpic16Code (iCode *);
-//extern char *fReturnpic16[];
-//extern char *fReturn390[];
extern unsigned pic16_fReturnSizePic;
-//extern char **fReturn;
#define AOP(op) op->aop
#define RESULTONSTACK(x) \
(IC_RESULT(x) && IC_RESULT(x)->aop && \
IC_RESULT(x)->aop->type == AOP_STK )
+#define RESULTONSTA(x) (IC_RESULT(x) && IC_RESULT(x)->aop && IC_RESULT(x)->aop->type == AOP_STA)
+
#define MOVA(x) if (strcmp(x,"a") && strcmp(x,"acc")) pic16_emitcode(";XXX mov","a,%s %s,%d",x,__FILE__,__LINE__);
#define CLRC pic16_emitcode(";XXX clr","c %s,%d",__FILE__,__LINE__);
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_genMinusBits (iCode *ic);
void pic16_genMinus (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);