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.
- Launch the simulator, as described in Step 3 under
Installation.
- On the Menu Bar select File | Load IJVM program .....
- Select File | Assemble / Load JAS file ....
- 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.
- Select ijvmtest.jas. The IJVM program should appear in
the Method Area.
- The Assembling ijvmtest.jas ... window should appear,
with assembly complete appearing soon in the text area; click
the Load button.
- Select Prog Speed on the Command Console (i.e. the radio button
labeled "Prog").
- 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