Files
u-boot/drivers
Yuri Zaporozhets 5fb5180a16 bios_emulator: fix incorrect printing of address in "call near immediate"
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:

0000E8DE  E8DBFF            call 0xe8bc

(verified by ndisasm). But instead the address is printed as "ffffe8bc".
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>
2024-12-15 11:39:21 -06:00
..
2024-10-11 11:44:48 -06:00
2024-12-07 09:07:04 -03:00
2024-12-07 09:07:04 -03:00
2024-11-20 17:57:58 +01:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-12-09 16:29:47 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-04-26 08:28:35 +03:00
2024-10-18 14:10:21 -06:00
2024-10-11 11:44:48 -06:00