iret
iret
interrupt return
Code: 61 FF
Description: Return from external interrupt. Signal iret to interrupt handler and return
to the context of the interrupted process and resume execution. The interrupted high
priority state is recovered from the workspace – if this does not contain a running
process the processor switches to the interrupted low priority state held in the shadow
registers.
Definition:
Status′ ← word[Wptr]
if (Status has valid bit set)
{
Wptr′ ← word[Wptr + 1]
Iptr′ ← word[Wptr + 2]
Areg′ ← word[Wptr + 3]
Breg′ ← word[Wptr + 4]
Creg′ ← word[Wptr + 5]
}
else
Return to interrupted low priority state
Error signals: none
Comments:
Secondary instruction.
94/212
®