Browse Source

* fixed 64-bit OP_ADD in tcgz80.a_op_const_reg_internal

git-svn-id: branches/z80@44657 -
nickysn 5 years ago
parent
commit
75a2f0352e
1 changed files with 1 additions and 1 deletions
  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);