uk.ac.man.cs.rainbow.simulator.rasm
Class Connect
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Instruction
|
+--uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
|
+--uk.ac.man.cs.rainbow.simulator.rasm.Connect
- All Implemented Interfaces:
- Serializable
- public class Connect
- extends Instruction.MACRO
Connect two channels together.
Makes the current thread into a connector that joins
chanIdread and
chanIdwrite.
It reads from chanIdread and writes to
chanIdwrite in such a way as to make the to
appear to be the same channel. This instruction is simulated by
a stack clearout followed by jump to __MACROS__::connect -
a call would be pointless, as this is a non-terminating
instruction.
chanIdread chanIdwrite ?
- See Also:
- Serialized Form
Connect
public Connect()
Connect
public Connect(RASMCode code)
toString
public String toString()
- Overrides:
toString
in class Object
definition
protected void definition(RASMCode code)
- Overrides:
definition
in class Instruction.MACRO