diff options
| author | Yuri Zaporozhets <[email protected]> | 2024-11-26 22:59:37 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-15 11:39:16 -0600 |
| commit | 15c1b2f974508c3d7a107b0bd8b43d69c9ae5305 (patch) | |
| tree | 633f6a2695b9473781638d3a6a71c260939a6dbc /drivers/bios_emulator | |
| parent | 8aab7730c1c26192b0e4218fbf2f6009f955cb88 (diff) | |
bios_emulator: fix garbled printing of disassembled BSF instruction
When DEBUG_DECODE_F is enabled in bios_emulator, the printing of BSF
instructions is garbled because the '\n' symbol is used instead of
the correct '\t'. Fix that.
Signed-off-by: Yuri Zaporozhets <[email protected]>
Diffstat (limited to 'drivers/bios_emulator')
| -rw-r--r-- | drivers/bios_emulator/x86emu/ops2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c index 32fecb34791..43270102f77 100644 --- a/drivers/bios_emulator/x86emu/ops2.c +++ b/drivers/bios_emulator/x86emu/ops2.c @@ -1280,7 +1280,7 @@ void x86emuOp2_bsf(u8 X86EMU_UNUSED(op2)) uint srcoffset; START_OF_INSTR(); - DECODE_PRINTF("BSF\n"); + DECODE_PRINTF("BSF\t"); FETCH_DECODE_MODRM(mod, rh, rl); if (mod < 3) { srcoffset = decode_rmXX_address(mod, rl); @@ -1341,7 +1341,7 @@ void x86emuOp2_bsr(u8 X86EMU_UNUSED(op2)) uint srcoffset; START_OF_INSTR(); - DECODE_PRINTF("BSF\n"); + DECODE_PRINTF("BSF\t"); FETCH_DECODE_MODRM(mod, rh, rl); if (mod < 3) { srcoffset = decode_rmXX_address(mod, rl); |
