* sib is required for r12 based addressing too

git-svn-id: trunk@3069 -
This commit is contained in:
florian 2006-03-28 21:15:00 +00:00
parent a3e0315a72
commit 2cfd698273

View File

@ -1569,7 +1569,7 @@ implementation
else
output.bytes:=md;
{ 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
output.sib_present:=false;
output.modrm:=(md shl 6) or (rfield shl 3) or base;