2 ms·
x86 is also octal-structured, and I can mentally assemble and disassemble most of the basic instructions from a hexdump by converting between hex and octal: ht
by userbinator 10y ago
x86 is also octal-structured, and I can mentally assemble and disassemble most of the basic instructions from a hexdump by converting between hex and octal:
https://news.ycombinator.com/item?id=13045558 https://news.ycombinator.com/item?id=13045558
In octal a 16-bit word doesn't split up evenly into bytes, so even recognizing ASCII is difficult.
That's true only if your hexdump is in 16-bit words; in bytes, it's just as straightforward: A-Z is 101 through 132, and a-z is 141 through 172. Incidentally, these are also where x86 puts the single-byte inc/dec/push/pop instructions.
- tyingq 10y agoI believe most linux distros come with 'od', which can dump octal by byte. $ echo 'ABC' | od -bc 0000000 101 102 103 012 A B C \n 0000004