Explorar o código

* fix typo in comparison with constant code

git-svn-id: trunk@30556 -
florian %!s(int64=10) %!d(string=hai) anos
pai
achega
1f20a52c85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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