mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
+ fix for 64-bit OP_NOT in tcgz80.a_op_reg_reg_internal
git-svn-id: branches/z80@44569 -
This commit is contained in:
parent
5b8fd51b3a
commit
c0b3eb70ac
@ -530,12 +530,12 @@ unit cgcpu;
|
||||
OP_NOT:
|
||||
begin
|
||||
getcpuregister(list,NR_A);
|
||||
for i:=tcgsize2size[size] downto 1 do
|
||||
for i:=1 to tcgsize2size[size] do
|
||||
begin
|
||||
a_load_reg_reg(list,OS_8,OS_8,src,NR_A);
|
||||
list.concat(taicpu.op_none(A_CPL));
|
||||
a_load_reg_reg(list,OS_8,OS_8,NR_A,dst);
|
||||
if i<>1 then
|
||||
if i<>tcgsize2size[size] then
|
||||
NextSrcDst;
|
||||
end;
|
||||
ungetcpuregister(list,NR_A);
|
||||
|
Loading…
Reference in New Issue
Block a user