Browse Source

* fix typo in comparison with constant code

git-svn-id: trunk@30556 -
florian 10 years ago
parent
commit
1f20a52c85
1 changed files with 1 additions and 1 deletions
  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