|
@@ -416,7 +416,7 @@ Implementation
|
|
|
|
|
|
DebugMsg('Peephole LdiMov/Cp2Ldi/Cpi performed', p);
|
|
|
|
|
|
- RemoveCurrentP(p);
|
|
|
+ result:=RemoveCurrentP(p);
|
|
|
end;
|
|
|
ReleaseUsedRegs(TmpUsedRegs);
|
|
|
end;
|
|
@@ -441,6 +441,7 @@ Implementation
|
|
|
taicpu(p).loadconst(0,taicpu(p).oper[0]^.ref^.offset)
|
|
|
else
|
|
|
taicpu(p).loadconst(0,taicpu(p).oper[0]^.ref^.offset-32);
|
|
|
+ result:=true;
|
|
|
end;
|
|
|
A_LDS:
|
|
|
if (taicpu(p).oper[1]^.ref^.symbol=nil) and
|
|
@@ -462,6 +463,8 @@ Implementation
|
|
|
taicpu(p).loadconst(1,taicpu(p).oper[1]^.ref^.offset)
|
|
|
else
|
|
|
taicpu(p).loadconst(1,taicpu(p).oper[1]^.ref^.offset-32);
|
|
|
+
|
|
|
+ result:=true;
|
|
|
end;
|
|
|
A_IN:
|
|
|
if GetNextInstruction(p,hp1) then
|