Jelajahi Sumber

* 64 bit comparisations fixed

git-svn-id: branches/avr@17043 -
florian 14 tahun lalu
induk
melakukan
d060e199f4
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      compiler/avr/navradd.pas

+ 5 - 0
compiler/avr/navradd.pas

@@ -182,6 +182,11 @@ interface
 
         for i:=2 to tcgsize2size[left.location.size] do
           begin
+            if i=5 then
+              begin
+                tmpreg1:=left.location.registerhi;
+                tmpreg2:=right.location.registerhi;
+              end;
             current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CPC,tmpreg1,tmpreg2));
           end;