3 ms·
On the other hand, x86 (and 8080/5/Z80) instruction encodings look far more sensical in octal, due to their 2-3-3 field arrangement, yet the official documentat
by userbinator 4y ago
On the other hand, x86 (and 8080/5/Z80) instruction encodings look far more sensical in octal, due to their 2-3-3 field arrangement, yet the official documentation has always used hex.
- kens 4y agoI agree with you 100% there. The Datapoint 2200 (which the 8008 cloned) used octal for its instructions and the instruction decoding is almost trivial to understand. Unfortunately, Intel used hexadecimal for the documentation. In hex, you can kinda see some patterns in the opcodes. The 6502, on the other hand, arranges the fields 3-3-2, so octal is no help even though the fields use bit triples. Discussion of "x86 is an octal machine": https://news.ycombinator.com/item?id=30409100 https://news.ycombinator.com/item?id=30409100