com.cmpware.tools
Class AutoModel.Instruction

java.lang.Object
  extended by com.cmpware.tools.AutoModel.Instruction
Enclosing class:
AutoModel

public static final class AutoModel.Instruction
extends java.lang.Object

The instruction class describes an instruction in the processor. The first value is a string representing the name of the instruction, the second value is the numeric value of the opcode and the third parameter is the instruction Format.


Field Summary
 AutoModel.Decode decode
          The decoder
 AutoModel.Function fn
          The instruction format
 AutoModel.Format format
          The instruction format
(package private)  int index
          The index in the Instructions array
 java.lang.String name
          The symbol name
 
Constructor Summary
AutoModel.Instruction(java.lang.String name, AutoModel.Format format, AutoModel.Decode decode, AutoModel.Function fn)
          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


decode

public AutoModel.Decode decode
The decoder


format

public AutoModel.Format format
The instruction format


fn

public AutoModel.Function fn
The instruction format


index

int index
The index in the Instructions array

Constructor Detail

AutoModel.Instruction

public AutoModel.Instruction(java.lang.String name,
                             AutoModel.Format format,
                             AutoModel.Decode decode,
                             AutoModel.Function fn)
Constructor

Parameters:
name - The instruction name
format - the instruction format.
decode - the array of decode field values.
fn - the instruction function.