浏览代码

+ Z80: support conditional JR

git-svn-id: trunk@45281 -
nickysn 5 年之前
父节点
当前提交
c81f433795
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/z80/cpubase.pas

+ 1 - 1
compiler/z80/cpubase.pas

@@ -63,7 +63,7 @@ unit cpubase;
       call_jmp_instructions = [A_CALL]+jmp_instructions;
       call_jmp_instructions = [A_CALL]+jmp_instructions;
 
 
       { instructions that can have a condition }
       { instructions that can have a condition }
-      cond_instructions = [A_CALL,A_JP,A_RET];
+      cond_instructions = [A_CALL,A_JP,A_JR,A_RET];
 
 
 {*****************************************************************************
 {*****************************************************************************
                                   Registers
                                   Registers