Example 1: Loading and Running an IJVM Program

Getting Started
...     Example 1: Loading and Running an IJVM Program

This example shows you how to edit, and assemble a JAS source program, and load the resulting IJVM object program.

  1. Launch the simulator, as described in Step 3 under Installation.
  2. On the Menu Bar select File | Load IJVM program .....
  3. Select File | Assemble / Load JAS file ....
  4. In the File chooser, navigate to "examples/JAS-IJVM Examples". If you have launched from the bin directory, this folder is found by moving up one level, then down through the "examples" folder.
  5. Select ijvmtest.jas. The IJVM program should appear in the Method Area.

  6. The Assembling ijvmtest.jas ... window should appear, with assembly complete appearing soon in the text area; click the Load button.
  7. Select Prog Speed on the Command Console (i.e. the radio button labeled "Prog").
  8. Click on the Command Console to begin interpretation of the IJVM program by the default microprogram. After a brief period, while the simulator is running, you should see the following in the "Output Console" text area:
    OK