ソースを参照

+ added DJNZ to the set of jmp instructions

git-svn-id: branches/z80@44750 -
nickysn 5 年 前
コミット
1f5a1f8c28
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/z80/cpubase.pas

+ 1 - 1
compiler/z80/cpubase.pas

@@ -59,7 +59,7 @@ unit cpubase;
 
       { call/reg instructions are not considered as jmp instructions for the usage cases of
         this set }
-      jmp_instructions = [A_JP,A_JR];
+      jmp_instructions = [A_JP,A_JR,A_DJNZ];
       call_jmp_instructions = [A_CALL]+jmp_instructions;
 
 {*****************************************************************************