|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.core.InstrProperties
The InstrProperties represents a grab bag of the properties of an instruction. The fields are
public and final, which allows fast access from the interpreter.
Instr| Field Summary | |
int |
cycles
The cycles field stores the minimum number of cycles required to invoke this
instruction. |
java.lang.String |
name
The name field stores an immutable reference to the name of the instruction as a string. |
int |
size
The size field stores the size of the instruction in bytes. |
java.lang.String |
variant
The variant field stores an immutable reference to the variant of the instruction as a
string. |
| Constructor Summary | |
InstrProperties(java.lang.String n,
java.lang.String v,
int s,
int c)
The constructor for the InstrProperties class simply initializes the final fields of this
class based on the input parameters. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final java.lang.String name
name field stores an immutable reference to the name of the instruction as a string.
public final java.lang.String variant
variant field stores an immutable reference to the variant of the instruction as a
string.
public final int size
size field stores the size of the instruction in bytes.
public final int cycles
cycles field stores the minimum number of cycles required to invoke this
instruction.
| Constructor Detail |
public InstrProperties(java.lang.String n,
java.lang.String v,
int s,
int c)
InstrProperties class simply initializes the final fields of this
class based on the input parameters.
n - the name of the instruction as a stringv - the variant of the instruction as a strings - the size of the instruction in bytesc - the minimum number of cycles required to execute this instruction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||