+2004-03-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/mcs51/main.c (instructionSize): fixed ACALL size
+ * src/mcs51/main.c (updateOpRW): fixed bug with @dptr, @a+dptr operands
+
2004-03-01 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c (pic16_dump_section): fixed a bug that allowed
if (ISINST ("xchd")) return 1;
if (ISINST ("reti")) return 1;
if (ISINST ("nop")) return 1;
- if (ISINST ("acall")) return 1;
+ if (ISINST ("acall")) return 2;
if (ISINST ("ajmp")) return 2;
aln->regsRead = bitVectSetBit (aln->regsRead, R0_IDX);
if (!strcmp(op, "@r1"))
aln->regsRead = bitVectSetBit (aln->regsRead, R1_IDX);
- if (!strstr(op, "dptr"))
+ if (strstr(op, "dptr"))
{
aln->regsRead = bitVectSetBit (aln->regsRead, DPL_IDX);
aln->regsRead = bitVectSetBit (aln->regsRead, DPH_IDX);
}
- if (!strstr(op, "a+"))
+ if (strstr(op, "a+"))
aln->regsRead = bitVectSetBit (aln->regsRead, A_IDX);
}
}