mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
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 <yuriz@qrv-systems.net>
This commit is contained in:
parent
8aab7730c1
commit
15c1b2f974
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue