Rainbow
Class SimTest

java.lang.Object
  |
  +--Rainbow.SimTest

public class SimTest
extends Object

Extremely simple testbed for RASM assembly and execution.


Method Summary
static RASMCode[] loadAndLink(String[] files)
          Assemble and link RASM files.
static void main(String[] args)
          Assemble, link and execute RASM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadAndLink

public static RASMCode[] loadAndLink(String[] files)
                              throws Exception
Assemble and link RASM files.
Parameters:
files - Array of filenames to assemble in order.

main

public static void main(String[] args)
Assemble, link and execute RASM. Each press of the return key (technically each line read from System.in) will yield a single execution/simulation step.
Parameters:
args - The files to assemble, link and execute.