uk.ac.man.cs.rainbow.simulator
Class Instruction.MACRO
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Instruction
|
+--uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Connect, PopAll, PutForward, RASM.Connect, RASM.PopAll, RASM.PutForward, RASM.Read, RASM.WaitFor, RASM.WaitGet, RASM.Write, Read, WaitFor, WaitGet, Write
- Enclosing class:
- Instruction
- public abstract static class Instruction.MACRO
- extends Instruction
Instructions implemented in terms of other instructions must be
subclasses of this class.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Instruction.MACRO
public Instruction.MACRO()
Instruction.MACRO
public Instruction.MACRO(RASMCode code)
definition
protected void definition(RASMCode code)
location
protected void location(RASMCode code,
String where)
addSequence
protected void addSequence(RASMCode code)
execute
protected final boolean execute(RASMThread t)
- 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...