Procházet zdrojové kódy

* fix typo in comparison with constant code

git-svn-id: trunk@30556 -
florian před 10 roky
rodič
revize
1f20a52c85
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/avr/navradd.pas

+ 1 - 1
compiler/avr/navradd.pas

@@ -206,7 +206,7 @@ interface
           begin
             { decrease register pressure on registers >= r16 }
             if (right.location.value and $ff)=0 then
-              current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CPC,left.location.register,NR_R1))
+              current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CP,left.location.register,NR_R1))
             else
               current_asmdata.CurrAsmList.concat(taicpu.op_reg_const(A_CPI,left.location.register,right.location.value and $ff))
           end