Jelajahi Sumber

+ support more instructions in taicpu.spilling_get_operation_type

git-svn-id: branches/z80@44772 -
nickysn 5 tahun lalu
induk
melakukan
05a6bcec13
1 mengubah file dengan 10 tambahan dan 2 penghapusan
  1. 10 2
      compiler/z80/aasmcpu.pas

+ 10 - 2
compiler/z80/aasmcpu.pas

@@ -310,11 +310,19 @@ implementation
               result:=operand_write;
           A_PUSH,
           A_BIT,
+          A_CP,
           A_DJNZ,
           A_JR,
-          A_JP:
+          A_JP,
+          A_CALL,
+          A_RET,
+          A_RETI,
+          A_RETN,
+          A_RST,
+          A_IM:
             ;
-          A_SET:
+          A_SET,
+          A_RES:
             if opnr=1 then
               result:=operand_readwrite;
           A_EX: