浏览代码

* fixed 64-bit OP_ADD in tcgz80.a_op_const_reg_internal

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

+ 1 - 1
compiler/z80/cgcpu.pas

@@ -792,7 +792,7 @@ unit cgcpu;
 
       procedure NextReg;
         begin
-          if i=5 then
+          if i=4 then
             reg:=reghi
           else
             reg:=GetNextReg(reg);