uk.ac.man.cs.rainbow.simulator.rasm
Class Push
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Instruction
|
+--uk.ac.man.cs.rainbow.simulator.rasm.Push
- All Implemented Interfaces:
- Serializable
- public class Push
- extends Instruction
Pushes the argument onto the stack.
-
dataval
- See Also:
- Serialized Form
Push
public Push(RASMCode.Label label)
Push
public Push(String string)
Push
public Push(boolean bool)
Push
public Push(int i)
Push
public Push(Data value)
Push
public Push(Type type)
Push
public Push(RASMCode.Label label,
RASMCode code)
Push
public Push(String string,
RASMCode code)
Push
public Push(boolean bool,
RASMCode code)
Push
public Push(int i,
RASMCode code)
Push
public Push(Data value,
RASMCode code)
Push
public Push(Type type,
RASMCode code)
getValue
public Data getValue()
toString
public String toString()
- Overrides:
toString
in class Object
execute
protected boolean execute(RASMThread thread)
- Description copied from class:
Instruction
- Make this instruction execute in the given context.
- Overrides:
execute
in class Instruction
- Following copied from class:
uk.ac.man.cs.rainbow.simulator.Instruction
- Throws:
RainbowException
- All sorts of things can go wrong during execution...