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.

  1. Computer Simulator: Includes the registers, the animated data path, the main memory, the input/output window and various user interface components.
  2. 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.
  3. Disassembled Code: Displays, in assembly language format, the machine language program loaded from a file or loaded by the assembler.
  4. 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.

  1. File Menu: The only option on this menu is to exit the application.
  2. 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.
  3. Memory Menu: Load a machine language program into memory or clear the memory.
  4. 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.