enbt
enbt
enable timer
Code: 24 F7
Description: Enable a timer guard in an alternative sequence. Areg is the boolean
guard and Breg is the time after which the guard may be selected. Note that this
instruction should only be used as part of an alternative sequence following a talt
instruction; in this case the location pw.State will have been initialized to Enabling.p
and the pw.Tlink slot initialized to TimeNotSet.p.
Definition:
if (Areg ≠ false)
{
if (word[Wptr @ pw.TLink] = TimeNotSet.p) – this is the first enbt
{
word′[Wptr @ pw.TLink] ← TimeSet.p
word′[Wptr @ pw.Time] ← Breg
}
else if (word[Wptr @ pw.TLink] = TimeSet.p) – this is not the first enbt
{
if (word[Wptr @ pw.Time] after Breg)
– this enbt has earlier time
word′[Wptr @ pw.Time] ← Breg
}
}
Breg′ ← Creg
Creg′ ← undefined
Error signals: none
Comments:
Secondary instruction.
See also: altend dist talt taltwt
79/212
®