public final class InstructionCall
extends java.lang.Object
InstructionCall class provides methods to run execution
simulation of some instruction within the processor model.| Constructor and Description |
|---|
InstructionCall(TemporaryVariables tempVars,
IsaPrimitive instruction)
Creates an instruction call object based on an nML operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ProcessingElement processingElement)
Runs simulation of a corresponding instruction described within the model.
|
int |
getByteSize()
Returns the size of the instruction in bytes.
|
java.lang.String |
getImage()
Returns image (binary representation) of the instruction call.
|
java.lang.String |
getText()
Return the assembly code for the specified call (for example, the addition instruction
of a MIPS processor: addu $1, $1, $2).
|
java.lang.String |
toString() |
public InstructionCall(TemporaryVariables tempVars, IsaPrimitive instruction)
instruction - The root operation of the nML operation hierarchy.java.lang.IllegalArgumentException - if any of the parameters equals null.public void execute(ProcessingElement processingElement)
public java.lang.String getText()
public java.lang.String getImage()
public int getByteSize()
public java.lang.String toString()
toString in class java.lang.Object