3 ms·
MIX wasn't decimal, but rather abstract over the choice of base, a decision Knuth changed in later volumes of the series, even before switching to MMIX. There
by kragen 2y ago
MIX wasn't decimal, but rather abstract over the choice of base, a decision Knuth changed in later volumes of the series, even before switching to MMIX.
There have been decimal and hybrid computers built since the 01970s (especially for pocket calculators, but new decimal instructions were still being added to Intel's lineup in the 8086 with AAM and AAD, and I think decimal continued to be a consideration for the AS/400 into the 90s), but MIX is really kind of an 01950s design, with:
- word-addressed memory
- five bytes per word (plus a sign bit)
- one word per instruction
- six bits per byte (in binary realizations)
- possible decimal
- a single accumulator
- sign-magnitude
- no stack, and
- a nonrecursive subroutine call convention relying on self-modifying code.
You can find one or another of these characteristics in machines designed since 01960, but the combination looked old-fashioned already when it was introduced.