autohit.vm.i
Class VMIMath

java.lang.Object
  extended byautohit.vm.i.VMInstruction
      extended byautohit.vm.i.VMIMath
All Implemented Interfaces:
java.io.Serializable

public class VMIMath
extends VMInstruction

A Virtual Machine instruction. This is a math instruction It will execute the operation from RIGHT register to LEFT register, and leave the result in the LEFT register.

Version:
1.0 Version History EPG - Rewrite - 9Apr03
Author:
Erich P. Gatejen
See Also:
VMInstruction, Serialized Form

Field Summary
 java.lang.String o
          String to evaluate.
 
Fields inherited from class autohit.vm.i.VMInstruction
ASSERT, CALL, CLEAR, EVAL, EXEC, FAULT, FETCH, GOTO, IF, instruction, JUMP, LOAD, MASK, MATH, MERGE, METHOD, NEW, NOP, REDUCE, RIGHT, RSCOPE, SCOPE, sourceline, STORE, SUBR
 
Constructor Summary
VMIMath()
          Default constructor.
 
Method Summary
 java.lang.String toString()
          Dump this Instruction.
 
Methods inherited from class autohit.vm.i.VMInstruction
dump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

o

public java.lang.String o
String to evaluate.

Constructor Detail

VMIMath

public VMIMath()
Default constructor.

Method Detail

toString

public java.lang.String toString()
Dump this Instruction. Mostly for debugging.

Overrides:
toString in class VMInstruction
Returns:
a String containing the dump.


Test.