FpDebug: Disassemble fixed/remove data for wrong annotations, if value is indirect or relative to register

This commit is contained in:
Martin 2023-03-19 21:54:58 +01:00
parent 8b93d1018e
commit c56eb62226

View File

@ -4995,7 +4995,8 @@ begin
if (Instr.OpCode.Opcode in [OPcall, OPj__, OPjcxz, OPjecxz, OPjmp, OPjmpe, OPjrcxz]) and
(Instr.OperCnt = 1) and
(hvfSigned in Instr.Operand[1].FormatFlags)
(hvfSigned in Instr.Operand[1].FormatFlags) and
(Instr.Operand[1].Value = '%s') // no register
then begin
TargetAddrOffs := 1;
case Instr.Operand[1].ByteCount of