1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-01 23:29:41 +00:00

More opts

git-svn-id: svn://svn.cc65.org/cc65/trunk@2518 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-10-12 11:29:56 +00:00
parent 6d409bfb72
commit 19ff8d96ad

View File

@ -1318,6 +1318,15 @@ unsigned OptPrecalc (CodeSeg* S)
/* Handle the different instructions */
switch (E->OPC) {
case OP65_LDA:
case OP65_LDX:
case OP65_LDY:
if (E->AM == AM65_IMM) {
/* If we do already have an immediate load, bail out */
break;
}
/* FALLTHROUGH */
case OP65_ADC:
case OP65_AND:
case OP65_ASL: