|
miSim | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Aliases interface allows a processor type to specify a number of instructions that are aliases for the core processor instruction set
Method Summary | |
int |
aliasCount()
Return the number of aliases that we are defining |
java.lang.String |
getAlias(int index)
Return a given alias instruction |
int |
getInstructionCount(int index)
|
int |
getOpcode(int alias,
int instruction)
Return the opcode for an instruction generated by this alias |
int |
getParamIndex(int alias,
int instruction,
int index)
Return the index in the instruction parameter list for the given alias parameter. |
int |
optionalParams(int index)
Return the number of optional parameters for this alias |
int |
requiredParams(int index)
Return the number of required parameters for this alias |
Method Detail |
public int aliasCount()
public java.lang.String getAlias(int index)
index
- The index of the aliaspublic int requiredParams(int index)
public int optionalParams(int index)
public int getInstructionCount(int index)
public int getOpcode(int alias, int instruction)
alias
- The alias being processedinstruction
- Which instruction we require an opcode forpublic int getParamIndex(int alias, int instruction, int index)
alias
- The alias being processedinstruction
- Which instruction within this aliasindex
- The index of the alias parameter
|
miSim | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |