commit | 78d5bf43d12b9a16b0c5d7d5dd496d1426ba93bd | [log] [tgz] |
---|---|---|
author | Yuri Zaporozhets <yuriz@qrv-systems.net> | Sun Dec 01 23:28:49 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Dec 15 11:39:23 2024 -0600 |
tree | c4ae5764e2306a9c1dbd5cd8264c88e16484a995 | |
parent | 996f4d55f92cb6883ac6bde169021f26b7fa2a9f [diff] |
bios_emulator: fix incorrect printing of address in "jump near immediate" In the x86emuOp_jump_call_near_IMM() function the target address is printed incorrectly when jumping backwards. For example instead of "jmp 0xe8bc" the string "jmp ffffe8bc" is printed. That's because of the following macro: DECODE_PRINTF2("%04x\n", ip); while it should be DECODE_PRINTF2("%04x\n", (u16)ip); Signed-off-by: Yuri Zaporozhets <yuriz@qrv-systems.net>