avrora.core.isdl
Class InstrDecl
java.lang.Object
avrora.core.isdl.CodeRegion
avrora.core.isdl.InstrDecl
- public class InstrDecl
- extends CodeRegion
The InstrDecl class represents the declaration
of an instruction in an instruction set description language
file. It include a description of the encoding format of the
instruction as well as a block of IR code that describe how
to execute the instruction.
|
Constructor Summary |
InstrDecl(Token n,
Token v,
java.util.List o,
Token c,
java.util.List s,
EncodingDecl e)
The constructor of the InstrDecl class initializes the fields
based on the parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final Token name
- The
name field stores a string representing the name of the instruction.
variant
public final Token variant
- The
variant field stores a string representing the variant name
of this instruction.
encoding
public EncodingDecl encoding
className
public final java.lang.String className
innerClassName
public final java.lang.String innerClassName
cycles
public final int cycles
InstrDecl
public InstrDecl(Token n,
Token v,
java.util.List o,
Token c,
java.util.List s,
EncodingDecl e)
- The constructor of the
InstrDecl class initializes the fields
based on the parameters.
- Parameters:
n - the name of the instruction as a stringv - the variant of the instruction as a string
getEncodingSize
public int getEncodingSize()
getClassName
public java.lang.String getClassName()
getInnerClassName
public java.lang.String getInnerClassName()