autohit.vm
Class VMIWait

java.lang.Object
  |
  +--autohit.vm.VMInstruction
        |
        +--autohit.vm.VMIWait

public class VMIWait
extends VMInstruction

A Virtual Machine instruction. This instruction impliments a WAIT. The VM will stall the Sim for the specified time measured in milliseconds.

See Also:
VMInstruction, Sim, Serialized Form

Field Summary
 java.lang.String time
          The length of time to wait measured in milliseconds.
 
Fields inherited from class autohit.vm.VMInstruction
ADD, CRC, EXEC, FOR, GET, HEADER, IF, iv, IVToken, JUMP, NOP, nToken, NV, RSCOPE, SCOPE, SEEK, SET, VERIFY, WAIT, WHILE
 
Constructor Summary
VMIWait()
          Default constructor.
 
Method Summary
 java.lang.String toString()
          Dump this Instruction.
 
Methods inherited from class autohit.vm.VMInstruction
orIV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

public java.lang.String time
The length of time to wait measured in milliseconds. This is a String and not an int so that we can do variable substitution.
Constructor Detail

VMIWait

public VMIWait()
Default constructor.
Method Detail

toString

public java.lang.String toString()
Dump this Instruction. Mostly for debugging.
Returns:
a String containing the dump.
Overrides:
toString in class VMInstruction