mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 00:09:26 +02:00
* sib is required for r12 based addressing too
git-svn-id: trunk@3069 -
This commit is contained in:
parent
a3e0315a72
commit
2cfd698273
@ -1569,7 +1569,7 @@ implementation
|
|||||||
else
|
else
|
||||||
output.bytes:=md;
|
output.bytes:=md;
|
||||||
{ SIB needed ? }
|
{ SIB needed ? }
|
||||||
if (ir=NR_NO) and (br<>NR_RSP)then
|
if (ir=NR_NO) and (br<>NR_RSP) and (br<>NR_R12) then
|
||||||
begin
|
begin
|
||||||
output.sib_present:=false;
|
output.sib_present:=false;
|
||||||
output.modrm:=(md shl 6) or (rfield shl 3) or base;
|
output.modrm:=(md shl 6) or (rfield shl 3) or base;
|
||||||
|
Loading…
Reference in New Issue
Block a user