if (TARGET_Z80_LIKE)
return POINTER;
+ //preserve original behaviour for PIC16
+ if (TARGET_IS_PIC16)
+ return POINTER;
+
//for HC08 only zeropage ptr is different
if (TARGET_IS_HC08)
{
ast *astTrue = tree->right->left;
ast *astFalse = tree->right->right;
operand *cond = ast2iCode (tree->left, lvl+1);
- operand *result = newiTempOperand (tree->right->ftype, 0);
+ operand *result = newiTempOperand (tree->ftype, 0);
operand *opTrue, *opFalse;
ic = newiCodeCondition (geniCodeRValue (cond, FALSE), NULL, falseLabel);
operand *op = NULL;
sym_link *type;
- if (!options.stackAuto)
+ if (!options.stackAuto && !TARGET_IS_HC08)
{
type = newLink(SPECIFIER);
SPEC_VOLATILE(type) = 1;