All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class duckMachine.operatingSystem.TestMach

java.lang.Object
   |
   +----duckMachine.operatingSystem.TestMach

public class TestMach
extends Object
A small program to test the simulation of the hardware machine.


Constructor Index

 o TestMach()

Method Index

 o main(String[])
The program creates a new machine with default parameters.

Constructors

 o TestMach
 public TestMach()

Methods

 o main
 public static void main(String args[])
The program creates a new machine with default parameters. We then create a program that consist of every machine instruction, load it in the machine, and then step and execute it using a visitor that just prints every instruction it encounters. All exceptions are redirected to the standard error stream.


All Packages  Class Hierarchy  This Package  Previous  Next  Index