+2004-03-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/SDCCglue.c (printIvalPtr): fixed bug with pointer initializer
+ reported by Adam Wozniak in Sdcc-user list
+
2004-03-10 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed with bug and promotion in
case 3: // how about '390??
if (port->little_endian)
{
- fprintf (oFile, "\t.byte %s,%s,#0x%d\n",
- aopLiteral (val, 0), aopLiteral (val, 1), GPTYPE_CODE);
+ fprintf (oFile, "\t.byte %s,%s,%s\n",
+ aopLiteral (val, 0), aopLiteral (val, 1), aopLiteral (val, 2));
}
else
{
- fprintf (oFile, "\t.byte %s,%s,#0x%d\n",
- aopLiteral (val, 1), aopLiteral (val, 0), GPTYPE_CODE);
+ fprintf (oFile, "\t.byte %s,%s,%s\n",
+ aopLiteral (val, 2), aopLiteral (val, 1), aopLiteral (val, 0));
}
}
return;