mix – MIX assembler and emulator|
games/mix [ –g ] [ file ... ]|
Mix is an assembler and emulator for Donald Knuth's fictitious
MIX architecture. The command assembles the named MIXAL files
into memory and then presents a command prompt to control an emulated
MIX machine. The –g option causes the emulator immediately to run
a complete assembled MIX program and
exits when the emulator halts. |
The following commands are accepted:
g Start the emulated MIX machine at the instruction specified by the END pseudo–instruction.
x Quit the emulator/assembler.
The addr field of the above instructions must be an integer between
0 and 3999 inclusive. A number–sign (#) or an asterisk (*) at the
beginning of a line starts a comment which extends to the end
of the line.
Donald Knuth, ``The Art of Computer Programming'', Volume 1. Section
As opposed to Knuth's specification, the ALF pseudo–instruction
takes as argument five MIX characters surrounded by quotation
marks. Unresolved forward references are assembled to 0 instead
of to a location determined by the END psuedo–instruction. |
The magnetic tapes and drum units are not implemented.
Comments are handled as described above and not exactly as Knuth