experchange > asm

Rod Pemberton (04-13-19, 08:01 AM)
Links for Peter or src153 on x86 instruction decoding/encoding

Instruction Length Decoder in C



James posted in the "Divide fault" thread:

JH> FYI there's a useful guide to the encoding/decoding of instructions
JH> on the 8086 at p4-27 of
.

Rod Pemberton
rugxulo (04-18-19, 08:06 AM)
Hi,

On Saturday, April 13, 2019 at 12:58:45 AM UTC-5, Rod Pemberton wrote:
> Links for Peter or src153 on x86 instruction decoding/encoding
> Instruction Length Decoder in C
>
>
> James posted in the "Divide fault" thread:
> JH> FYI there's a useful guide to the encoding/decoding of instructions
> JH> on the 8086 at p4-27 of
> .


What about these? They're cool.

*
*
Peter Cheung (07-09-19, 06:42 PM)
Rod Pemberton於 2019年4月13日星期六 UTC+8下午1時58分45秒寫道:
[..]
> --
> The lesson for Boeing. You push the nose of a plane down, and planes
> go down.


Hey Rod, sorry i missed this post, thanks a lot
Peter Cheung (07-10-19, 09:32 AM)
Rod Pemberton於 2019年4月13日星期六 UTC+8下午1時58分45秒寫道:
[..]
> --
> The lesson for Boeing. You push the nose of a plane down, and planes
> go down.


tried the code from first link, the decoder not correct. decoded wrong opcode.
Peter Cheung (07-10-19, 10:32 AM)
Peter Cheung於 2019年7月10日星期三 UTC+8下午3時32分13秒寫道:
> Rod Pemberton於 2019年4月13日星期六 UTC+8下午1時58分45秒寫道:
> tried the code from first link, the decoder not correct. decoded wrong opcode.


Oh no, that code work, but assume is in 32 bits mode, so the operandSize variable is 4. If i change to 2, then it work for 16 bits instruction disassemble
Similar Threads