chyyuu / distorm

Automatically exported from code.google.com/p/distorm
GNU General Public License v3.0
0 stars 0 forks source link

mov instruction with opcode 8e not supported? #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- only tried 32-bit mode (but i guess this might be the same problem in 16-bit 
mode)
- problem occurs with any 0x8E mov instruction
- f.e.: 8e 0c c5 34 12 00 00 should disassemble into: mov cs,[eax*8+0x1234]
- tried adding a 16-bit prefix, so 66 8e 0c c5 34 12 00 00 with should be valid 
too, but doesnt work neither
- distorm3-3 win32 version.

Regards,
Wim Decelle

Original issue reported on code.google.com by wim.dece...@gmail.com on 30 Jul 2014 at 5:44

GoogleCodeExporter commented 9 years ago
Seems like a bug, I'm on it. Thanks for reporting.

Original comment by distorm@gmail.com on 13 Dec 2014 at 10:41

GoogleCodeExporter commented 9 years ago
Ahh, ok, now I get it, you moved into CS, this is invalid, no processor 
supports it AFAIK, that's why the instruction is invalid.
This is by design.

Original comment by distorm@gmail.com on 13 Dec 2014 at 10:46