com.cmpware.tools
Class AutoModelVLIW.Symbol

java.lang.Object
  extended by com.cmpware.tools.AutoModelVLIW.Symbol
Enclosing class:
AutoModelVLIW

public static final class AutoModelVLIW.Symbol
extends java.lang.Object

This class defines a symbol. It is simply a name / value pair. This is used for any symbolic value used anywhere in the assembler. One example might be the pair {"zero", 0}.


Field Summary
 java.lang.String name
          The symbol name
 int value
          The symbol value
 
Constructor Summary
AutoModelVLIW.Symbol(java.lang.String name, int value)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The symbol name


value

public int value
The symbol value

Constructor Detail

AutoModelVLIW.Symbol

public AutoModelVLIW.Symbol(java.lang.String name,
                            int value)
Constructor

Parameters:
name - The symbol name
value - the symbol value