mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 11:13:02 +02:00
* fixed tb0350 (support loading address of reference containing the
address 0)
This commit is contained in:
parent
e9051dc267
commit
83323b4955
@ -1661,7 +1661,9 @@ const
|
|||||||
list.concat(taicpu.op_reg_reg_reg(A_ADD,r,ref2.base,ref2.index))
|
list.concat(taicpu.op_reg_reg_reg(A_ADD,r,ref2.base,ref2.index))
|
||||||
else if (ref2.base <> NR_NO) and
|
else if (ref2.base <> NR_NO) and
|
||||||
(r <> ref2.base) then
|
(r <> ref2.base) then
|
||||||
list.concat(taicpu.op_reg_reg(A_MR,r,ref2.base));
|
list.concat(taicpu.op_reg_reg(A_MR,r,ref2.base))
|
||||||
|
else
|
||||||
|
list.concat(taicpu.op_reg_const(A_LI,r,0));
|
||||||
if freereg then
|
if freereg then
|
||||||
rg[R_INTREGISTER].ungetregister(list,ref2.base);
|
rg[R_INTREGISTER].ungetregister(list,ref2.base);
|
||||||
end;
|
end;
|
||||||
@ -2324,7 +2326,11 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.152 2003-12-28 23:49:30 jonas
|
Revision 1.153 2003-12-29 11:13:53 jonas
|
||||||
|
* fixed tb0350 (support loading address of reference containing the
|
||||||
|
address 0)
|
||||||
|
|
||||||
|
Revision 1.152 2003/12/28 23:49:30 jonas
|
||||||
* fixed tnotnode for < 32 bit quantities
|
* fixed tnotnode for < 32 bit quantities
|
||||||
|
|
||||||
Revision 1.151 2003/12/28 19:22:27 florian
|
Revision 1.151 2003/12/28 19:22:27 florian
|
||||||
|
Loading…
Reference in New Issue
Block a user