psst! hey! want to see an instruction set that makes 8086 look simple and reasonable? https://docs.alexrp.com/m16c/m16c.pdf
once you're done with the instructions, look at how they're encoded. it's a joy to write a disassembler for :)
psst! hey! want to see an instruction set that makes 8086 look simple and reasonable? https://docs.alexrp.com/m16c/m16c.pdf
once you're done with the instructions, look at how they're encoded. it's a joy to write a disassembler for :)
@whitequark what the actual fuck
and i thought modr/m and sib were bad
@whitequark i _just_ noticed that the dest/src field encoding changes by instruction class
... and idk if it's even always consistent within a class, since the PDF is full of redundant tables