소스 검색

+ support more instructions in taicpu.spilling_get_operation_type

git-svn-id: branches/z80@44772 -
nickysn 5 년 전
부모
커밋
05a6bcec13
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      compiler/z80/aasmcpu.pas

+ 10 - 2
compiler/z80/aasmcpu.pas

@@ -310,11 +310,19 @@ implementation
               result:=operand_write;
               result:=operand_write;
           A_PUSH,
           A_PUSH,
           A_BIT,
           A_BIT,
+          A_CP,
           A_DJNZ,
           A_DJNZ,
           A_JR,
           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
             if opnr=1 then
               result:=operand_readwrite;
               result:=operand_readwrite;
           A_EX:
           A_EX: