* src/hc08/gen.c (genDjnz): can't use djnz with extended addressing mode
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2994
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-11-06 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+ * device/lib/hc08/Makefile: need to clean .rel not .o files
+ * src/hc08/gen.c (genDjnz): can't use djnz with extended addressing mode
+
2003-11-06 Erik Petrich <epetrich@ivorytower.norman.ok.us>
* src/port.h,
2003-11-06 Erik Petrich <epetrich@ivorytower.norman.ok.us>
* src/port.h,
- rm -f *.o *.sym *.lst *~ $(CLEANSPEC) *.dump* *.asm *.lib
+ rm -f *.rel *.sym *.lst *~ $(CLEANSPEC) *.dump* *.asm *.lib
if (operandLitValue (IC_RIGHT (ic)) != 1)
return 0;
if (operandLitValue (IC_RIGHT (ic)) != 1)
return 0;
+ /* dbnz doesn't support extended mode */
+ if (isOperandInFarSpace (IC_RESULT (ic)))
+ return 0;
+
/* if the size of this greater than one then no
saving */
// if (getSize (operandType (IC_RESULT (ic))) > 1)
/* if the size of this greater than one then no
saving */
// if (getSize (operandType (IC_RESULT (ic))) > 1)