git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4880
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-07-12 Raphael Neider <rneider AT web.de>
+
+ * src/pic16/gen.c (genNearPointerSet): fixed handling of literals
+
2007-07-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (compareType): fixed bugs 1738367 and 1745717 with patch
DEBUGpic16_emitcode ("; ***","%s %d",__FUNCTION__,__LINE__);
while (size--) {
- if (AOP_TYPE(right) == AOP_LIT) {
+ if (is_LitOp(right)) {
pic16_emitpcode(POC_MOVLW, pic16_popGet(AOP(right),offset));
if (size) {
pic16_emitpcode(POC_MOVWF,pic16_popCopyReg(&pic16_pc_postinc0));