Browse Source

+ added DJNZ to the set of jmp instructions

git-svn-id: branches/z80@44750 -
nickysn 5 years ago
parent
commit
1f5a1f8c28
1 changed files with 1 additions and 1 deletions
  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
       { call/reg instructions are not considered as jmp instructions for the usage cases of
         this set }
         this set }
-      jmp_instructions = [A_JP,A_JR];
+      jmp_instructions = [A_JP,A_JR,A_DJNZ];
       call_jmp_instructions = [A_CALL]+jmp_instructions;
       call_jmp_instructions = [A_CALL]+jmp_instructions;
 
 
 {*****************************************************************************
 {*****************************************************************************