浏览代码

* improve spilling_get_operation_type for avr

git-svn-id: trunk@28745 -
florian 10 年之前
父节点
当前提交
c72d5a557a
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      compiler/avr/aasmcpu.pas

+ 5 - 5
compiler/avr/aasmcpu.pas

@@ -246,11 +246,11 @@ implementation
       begin
         result:=operand_read;
         case opcode of
-          A_CLR,
-          A_MOV, A_MOVW:
-           if opnr=0 then
-             result:=operand_write;
-          A_CP,A_CPC,A_CPI,A_PUSH :
+          A_CLR,A_LDD,A_LD,A_LDI,A_LDS,
+          A_MOV,A_MOVW:
+            if opnr=0 then
+              result:=operand_write;
+          A_CP,A_CPC,A_CPI,A_PUSH,A_ST,A_STD,A_STS:
             ;
           else
             begin