瀏覽代碼

* fix typo in comparison with constant code

git-svn-id: trunk@30556 -
florian 10 年之前
父節點
當前提交
1f20a52c85
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/avr/navradd.pas

+ 1 - 1
compiler/avr/navradd.pas

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