6 ms·
Would be really cool if this gave more explanation for the encodings. For example, showing the opcode, mod/reg/rm, and displacement components is really cool. W
by k4st 12y ago
Would be really cool if this gave more explanation for the encodings. For example, showing the opcode, mod/reg/rm, and displacement components is really cool. What would be even cooler is to say why some bit or combination of bits makes this opcode use, for example, the rax register. This would be more an effort of exposing some tables, referencing manuals, etc. but I think it would give people more of an intuition for the encoding. Another thing to consider would be breaking the encoding down into octal digits instead of hex or binary (or maybe mix when appropriate) to give the most clear presentation of the encoding format. I could see this as a great way to lazily learn.
- userbinator 12y ago+1 for octal encoding; although some of the 64-bit extension stuff - notably REX prefices - has strayed from that, it's far easier to mentally assemble/disassemble x86 in octal form. Odd that the vast majority of x86 opcode references are exclusively in hex, since presenting the tables in octal makes the encoding look far more regular. http://tnovelli.net/ref/opx86.html http://tnovelli.net/ref/opx86.html