DOS-debug
DOS-debug copied to clipboard
Assembler exchanges XCHG operands order versus disassembler
In a blog post I listed this fix to lDebug:
instr.set: Avoid swapping XCHG operand order between assembler and disassembler, use same order as NASM/NDISASM
This is what it looks like in Debug/X v2.03:
E:\>debugxd
]a
0B24:0100 xchg bx,cx
0B24:0102 xchg cx,bx
0B24:0104
]u 100 l 4
0B24:0100 87CB XCHG CX,BX
0B24:0102 87D9 XCHG BX,CX
]
Ok, thanks - probably it should be fixed...