mixasm
, the MIXAL assemblermixvm
, the MIX computer simulatorgmixvm
, the GTK virtual machinemixguile
, the Scheme virtual machinemixasm
, the MIXAL assembler
mixvm
, the MIX computer simulator
gmixvm
, the GTK virtual machine
mixguile
, the Scheme virtual machine
Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This manual is for GNU MDK (version 1.3.0, October, 2020), a set of utilities for developing programs using Donald Knuth’s MIX mythical computer and MIXAL, its assembly language.
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2013, 2014, 2015, 2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU General Public License”, with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License”.
(a) The FSF’s Back-Cover Text is: “You have the freedom to copy and modify this GNU manual. Buying copies from the FSF supports it in developing GNU and promoting software freedom.”
GNU MDK was written and designed by Jose Antonio Ortega Ruiz.
Pieter E. J. Pareit is the author of the Emacs MIXAL
mode
(see MIXAL mode), and has also contributed many bug fixes.
Philip E. King has contributed to this package development with many helpful discussions, as well as actual code (see GUD integration).
Michael Scholz is the author of the German translation of MDK’s user interface.
• Introduction | ||
• Acknowledgments | ||
• Installing MDK | Installing GNU MDK from the source tarball. | |
• MIX and MIXAL tutorial | Learn the innards of MIX and MIXAL. | |
• Getting started | Basic usage of the MDK tools. | |
• Emacs tools | Programming the MIX using Emacs. | |
• mixasm | Invoking the MIXAL assembler. | |
• mixvm | Invoking and using the MIX virtual machine. | |
• gmixvm | Invoking and using the GTK+ virtual machine. | |
• mixguile | Invoking and using the Scheme virtual machine. | |
• Problems | Reporting bugs. | |
• Copying | MDK licensing terms. | |
• Concept Index | Index of concepts. | |
• Instructions and commands | Index of MIXAL instructions and MIXVM commands. | |
— The Detailed Node Listing — Installing MDK | ||
---|---|---|
• Download | ||
• Requirements | ||
• Basic installation | ||
• Emacs support | ||
• Special configure flags | ||
• Supported platforms | ||
MIX and MIXAL tutorial | ||
• The MIX computer | Architecture and instruction set of the MIX computer. | |
• MIXAL | The MIX assembly language. | |
The MIX computer | ||
• MIX architecture | ||
• MIX instruction set | ||
MIX instruction set | ||
• Instruction structure | ||
• Loading operators | ||
• Storing operators | ||
• Arithmetic operators | ||
• Address transfer operators | ||
• Comparison operators | ||
• Jump operators | ||
• Input-output operators | ||
• Conversion operators | ||
• Shift operators | ||
• Miscellaneous operators | ||
• Execution times | ||
MIXAL | ||
• Basic structure | Writing basic MIXAL programs. | |
• MIXAL directives | Assembler directives. | |
• Expressions | Evaluation of expressions. | |
• W-expressions | Evaluation of w-expressions. | |
• Local symbols | Special symbol table entries. | |
• Literal constants | Specifying an immediate operand. | |
Getting started | ||
• Writing a source file | A sample MIXAL source file. | |
• Compiling | Using mixasm to compile source
files into binary format.
| |
• Running the program | Running and debugging your programs. | |
• Using mixguile | Using the Scheme interpreter to run and debug your programs. | |
• Using Scheme in mixvm and gmixvm | ||
Running the program | ||
• Non-interactive mode | Running your programs non-interactively. | |
• Interactive mode | Running programs interactively. | |
• Debugging | Commands for debugging your programs. | |
Using | ||
• The mixguile shell | Using the Scheme MIX virtual machine. | |
• Additional functions | Scheme functions accessing the VM. | |
• Defining new functions | Defining your own Scheme functions. | |
• Hook functions | Using command and break hook functions. | |
• Scheme scripts | ||
Hook functions | ||
• Command hooks | ||
• Break hooks | ||
Emacs tools | ||
• MIXAL mode | Editing MIXAL files. | |
• GUD integration | Invoking mixvm within Emacs.
| |
MIXAL mode | ||
• Basics | Editing code, font locking and indentation. | |
• Help system | Using the interactive help system. | |
• Compiling and running | Invoking compiler and/or virtual machine. | |
| ||
• Invoking mixasm | ||
| ||
• Invocation | ||
• Commands | Commands available in interactive mode. | |
• Devices | MIX block devices implementation. | |
Interactive commands | ||
• File commands | Loading and executing programs. | |
• Debug commands | Debugging programs. | |
• State commands | Inspecting the virtual machine state. | |
• Configuration commands | Changing and storing mixvm settings. | |
• Scheme commands | ||
| ||
• Invoking gmixvm | ||
• MIXVM console | Using mixvm commands.
| |
• MIX virtual machine | The MIX virtual machine window. | |
• MIXAL source view | Viewing the MIXAL source code. | |
• MIX devices view | Device output. | |
• Menu and status bars | Available menu commands. | |
| ||
• Invoking mixguile | Command line options. | |
• Scheme functions reference | Scheme functions accessing the VM. | |
Scheme functions reference | ||
• mixvm wrappers | Functions invoking mixvm commands. | |
• Hooks | Adding hooks to mixvm commands. | |
• Additional VM functions | Functions accessing the MIX virtual machine. | |
Copying | ||
• GNU General Public License | ||
• GNU Free Documentation License | ||
Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]