Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
cheat-engine committed Apr 24, 2018
1 parent fef6b1d commit 09218b4
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Cheat Engine/disassembler.pas
Original file line number Diff line number Diff line change
Expand Up @@ -11400,16 +11400,14 @@ function TDisassembler.disassemble(var offset: ptrUint; var description: string)
end;

$df : begin
case memory[1] of
$c0..$c7:
begin
description:='free floating-point register and pop (might not work)';
lastdisassembledata.opcode:='ffreep';
lastdisassembledata.parameters:='st('+inttostr(memory[1]-$c0)+')';
inc(offset);
end;
end;

if memory[1] in [$c0..$c7] then
begin
description:='free floating-point register and pop (might not work)';
lastdisassembledata.opcode:='ffreep';
lastdisassembledata.parameters:='st('+inttostr(memory[1]-$c0)+')';
inc(offset);
end
else
case getreg(memory[1]) of
0: begin
description:='load integer';
Expand Down

0 comments on commit 09218b4

Please sign in to comment.