vmt / udis86

Disassembler Library for x86 and x86-64
http://udis86.sourceforge.net
BSD 2-Clause "Simplified" License
1.01k stars 295 forks source link

Wrong operand size #129

Open enoorez opened 4 years ago

enoorez commented 4 years ago

FF 1D 00 10 00 00 The correct disassembly is : CALL FAR FWORD PTR DS:[0x1000] But now we have this: call far dword [0x1000]

wolfcod commented 4 years ago

there is no segment override, DS is default register designed for this option. The instruction must be preceded by segment override prefix opcode.