Browse Source

* fixed address calculation when generating pic

git-svn-id: trunk@1759 -
florian 19 năm trước cách đây
mục cha
commit
99be25604b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/x86/cgx86.pas

@@ -413,7 +413,7 @@ unit cgx86;
               end
               end
             else
             else
               begin
               begin
-                list.concat(taicpu.op_reg_reg(A_ADD,S_Q,ref.base,hreg));
+                list.concat(taicpu.op_reg_reg(A_ADD,S_L,ref.base,hreg));
                 ref.base:=hreg;
                 ref.base:=hreg;
               end;
               end;
           end;
           end;