Browse Source

* rsp based addressing fixed

git-svn-id: trunk@3045 -
florian 19 năm trước cách đây
mục cha
commit
56dc874476
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;