242
K
A
DAK
AMX 86 Procedures
ajint ajintajinx ajinx
Purpose Begin Interrupt Service
Used by o Task n ISP o Timer Procedure o Restart Procedure o Exit Procedure
Setup ajint();
Results Interrupts are disabled.
The AMX Interrupt Supervisor saves all registers on the caller's stack. If a
task has just been interrupted, AMX switches to the AMX Interrupt Stack
before returning to the ajint caller.
Purpose End Interrupt Service
Used by o Task n ISP o Timer Procedure o Restart Procedure o Exit Procedure
Setup ajinx();
Results Interrupts are disabled.
The AMX Interrupt Supervisor checks to see if the ISP is returning to an
interrupted task. If so, it switches back to the task's stack. The saved
registers are restored from the stack before returning to the ajinx caller.
Restrictions Upon entry to ajinx, the stack must be as it was upon return from
procedure ajint.