The demo is in 8086 16-bit code though. It would be nice to be able to see 32-bit and 64-bit codes in the demo too. At least 64-bit is the most interesting to me, as the older ones are the most covered on the internet.
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.
+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.
That's pretty neat, how you can select a mnemonic and the corresponding bytes are highlighted.
I have to say, though, I had a bit of a confused chuckle at the "marketing copy." This is (presumably) a hobby project, not a product landing page; the serious tone seems very out of place. "Sleek. Fast. Clean. Responsive. Line by line opcode explanation." sounds like something out of an Apple ad. Are you trying to sell me something here?
I liked it when programmer websites were butt-ugly text dumps and proud of it.
Yeah, all I had back in the day were those quick refs that came with Turbo Assembler and MASM. Occasionally some BBS would have a half-done cheat sheet from an Intel manual.
20 comments
[ 5.5 ms ] story [ 53.3 ms ] threadhttp://badsector.github.io/dcpustud/
The demo with live opcode display in the editor is pretty cool!
http://tnovelli.net/ref/opx86.html
I have to say, though, I had a bit of a confused chuckle at the "marketing copy." This is (presumably) a hobby project, not a product landing page; the serious tone seems very out of place. "Sleek. Fast. Clean. Responsive. Line by line opcode explanation." sounds like something out of an Apple ad. Are you trying to sell me something here?
I liked it when programmer websites were butt-ugly text dumps and proud of it.