Przeglądaj źródła

* rsp based addressing fixed

git-svn-id: trunk@3045 -
florian 19 lat temu
rodzic
commit
56dc874476
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      compiler/x86/aasmcpu.pas

+ 1 - 1
compiler/x86/aasmcpu.pas

@@ -1561,7 +1561,7 @@ implementation
            else
             output.bytes:=md;
            { SIB needed ? }
-           if (ir=NR_NO) and (br<>NR_ESP) then
+           if (ir=NR_NO) and (br<>NR_RSP)then
             begin
               output.sib_present:=false;
               output.modrm:=(md shl 6) or (rfield shl 3) or base;