Re: [PATCH] bios_emulator: fix incorrect printing of address in "call near immediate"

2024-12-16 Thread Tom Rini
On Sat, 30 Nov 2024 21:56:25 +0100, Yuri Zaporozhets wrote: > In the x86emuOp_call_near_IMM() function the address of CALL is > printed incorrectly when jumping backwards. For example, the correct > disassemble of the bytes below would be: > > E8DE E8DBFFcall 0xe8bc > > (verifie

[PATCH] bios_emulator: fix incorrect printing of address in "call near immediate"

2024-11-30 Thread Yuri Zaporozhets
In the x86emuOp_call_near_IMM() function the address of CALL is printed incorrectly when jumping backwards. For example, the correct disassemble of the bytes below would be: E8DE E8DBFFcall 0xe8bc (verified by ndisasm). But instead the address is printed as "e8bc". That's bec