in
in
input message
Code: F7
Description: Input a message. The corresponding output is performed by an out,
outword or outbyte instruction, and must specify a message of the same length. Areg
is the unsigned length in bytes, Breg is a pointer to the channel and Creg is a pointer
to where the message is to be stored. The process executing in will be descheduled if
the channel is external or is not ready, and is rescheduled when the communication is
complete.
Definition:
Synchronize, and input Aregunsigned bytes from channel Breg to address Creg
Areg′ ← undefined
Breg′ ← undefined
Creg′ ← undefined
Error signals: Can cause InternalChannel or ExternalChannel trap to be signalled (if
enabled) when the process is rescheduled after synchronization.
Comments:
Secondary instruction.
Instruction is a descheduling point.
Instruction is interruptible.
See also: out
90/212
®