瀏覽代碼

+ fixed 64-bit OP_NEG in a_op_reg_reg_internal

git-svn-id: branches/z80@45004 -
nickysn 5 年之前
父節點
當前提交
e7f707cd78
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/z80/cgcpu.pas

+ 2 - 2
compiler/z80/cgcpu.pas

@@ -718,7 +718,7 @@ unit cgcpu;
                        a_load_reg_reg(list,OS_8,OS_8,NR_A,tmpreg2);
                        if i<>tcgsize2size[size] then
                          begin
-                           if i=5 then
+                           if i=4 then
                              begin
                                tmpreg:=srchi;
                                tmpreg2:=dsthi;
@@ -744,7 +744,7 @@ unit cgcpu;
                        a_load_reg_reg(list,OS_8,OS_8,NR_A,tmpreg2);
                        if i<>tcgsize2size[size] then
                          begin
-                           if i=5 then
+                           if i=4 then
                              begin
                                tmpreg2:=dsthi;
                              end