Explorar o código

* sib is required for r12 based addressing too

git-svn-id: trunk@3069 -
florian %!s(int64=19) %!d(string=hai) anos
pai
achega
2cfd698273
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/x86/aasmcpu.pas

+ 1 - 1
compiler/x86/aasmcpu.pas

@@ -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;