+ fixed 64-bit OP_NEG in a_op_reg_reg_internal

git-svn-id: branches/z80@45004 -
This commit is contained in:
nickysn 2020-04-22 21:48:42 +00:00
parent ccd23d288d
commit e7f707cd78

View File

@ -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