Running the Simulator
The Simulator Windows
The simulator windows are laid out on a tabbed pane. Clicking on a tab
brings up the corresponding window.
- Computer Simulator:
Includes the registers, the animated data path, the main memory, the
input/output window and various user interface components.
- Microprogram Editor:
Allows you to edit the binary contents of the control store which contains the
computer's microprogram. By default, the machine language interpreter is loaded when you run the simulator
application.
- Disassembled
Code: Displays, in assembly language format, the machine language
program loaded from a file or loaded by the assembler.
- Source Code
Editor/Assembler: Allows you to edit and assemble java assembly language
programs.
The Menu Structure
The menu structure allows you to load and save files and to clear simulator
subsystems. All menus are active no matter which window you are in when you make
a menu selection.
- File Menu: The only option on this menu is to exit the application.
- Control
Menu: Load a microprogram file into the control store, save the control
store to the current file, save the control store as a new file, or clear
the contents of the control store.
- Memory
Menu: Load a machine language program into memory or clear the memory.
- Source Menu:
Load a file into the assembly language source code editor, assemble the
current contents of the editor (F2), save the source code to the current file,
save the source code as a new file, or clear the contents of the
editor.