瀏覽代碼

+ 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;
 
 {*****************************************************************************