pic14_toBoolean(cond);
else
isbit = 1;
- /* the result is now in the accumulator */
- freeAsmop(cond,NULL,ic,TRUE);
/* if there was something to be popped then do it */
if (popIc)
if (IC_TRUE(ic))
{
assert (!IC_FALSE(ic));
- emitSKPNC;
+ emitpcode(POC_BTFSC, popGet(AOP(cond), 0));
+ //emitSKPNC;
emitpcode(POC_GOTO, popGetLabel(IC_TRUE(ic)->key));
} else {
assert (IC_FALSE(ic));
- emitSKPC;
+ emitpcode(POC_BTFSS, popGet(AOP(cond), 0));
+ //emitSKPC;
emitpcode(POC_GOTO, popGetLabel(IC_FALSE(ic)->key));
}
+ if (0)
{
static int hasWarned = 0;
if (!hasWarned)
ic->generated = 1;
+ /* the result is now in the accumulator */
+ freeAsmop(cond,NULL,ic,TRUE);
}
/*-----------------------------------------------------------------*/