Browse Source

* fixed ti8086addnode.second_add64bit

git-svn-id: branches/i8086@23809 -
nickysn 12 years ago
parent
commit
d0c43f50f0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/i8086/n8086add.pas

+ 2 - 2
compiler/i8086/n8086add.pas

@@ -129,8 +129,8 @@ interface
          begin
            if (right.location.loc<>LOC_REGISTER) then
             begin
-              hregister:=cg.getintregister(current_asmdata.CurrAsmList,OS_INT);
-              hregister2:=cg.getintregister(current_asmdata.CurrAsmList,OS_INT);
+              hregister:=cg.getintregister(current_asmdata.CurrAsmList,OS_32);
+              hregister2:=cg.getintregister(current_asmdata.CurrAsmList,OS_32);
               cg64.a_load64_loc_reg(current_asmdata.CurrAsmList,left.location,joinreg64(hregister,hregister2));
               location_reset(left.location,LOC_REGISTER,left.location.size);
               left.location.register64.reglo:=hregister;