x86 Assembly: How do Disassemblers know how to break up instructions?
问题 How does a x86 disassembler know where to break up the instructions? I am looking at the 8088 instruction set. For example the move instruction has 7 variations that range from 2 to 4 bytes. The instructions themselves seem to follow no particular order. Another reason for Why is x86 ugly?. For example: 76543210 76543210 76543210 76543210 reg/mem to/from reg 100010dw ||regr/m imm to reg/mem 1100011w ||000r/m dat dat w=1 imm to reg 1011wreg data dat w=1 imm to accum 1010000w addr-low addrhigh