소스 검색

+ 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