enbc
enbc
enable channel
Code: 24 F8
Description: Enable a channel guard in an alternative sequence. Areg is the
boolean guard and Breg is a pointer to the channel. Note that this instruction should
only be used as part of an alternative sequence following an alt or talt instruction.
Definition:
if (Areg ≠ false)
{
if (Breg is internal channel)
{
if (word[Breg] = NotProcess.p)
– not ready
word′[Breg] ← Wdesc
else if (word[Breg] ≠ Wdesc)
– not previously enabled
word′[Wptr @ pw.State] ← Ready.p
}
else if (Breg is external channel)
{
Request Comms Subsystem to enable external channel
and receive current status of channel
if (channel ready)
-
word′[Wptr @ pw.State] ← Ready.p
}
}
Breg′ ← Creg
Creg′ ← undefined
Error signals: none
Comments:
Secondary instruction.
See also: alt altend altwt disc talt taltwt
77/212
®