AMX 86 Procedures
K
A
DAK
221
ajdi ajdiajei ajei
Purpose Disable or Enable Interrupts
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup ajdi();
ajei();
Results Interrupts are disabled by ajdi() or enabled by ajei().
The interrupt enable flag (IF) in the processor status register (FLAGS) is
reset to 0 to disable interrupts or set to 1 to enable interrupts.
Restrictions Interrupts should be enabled within a short time after they are disabled or
system performance will be degraded.
ISPs must not enable interrupts unless nested interrupts are supported in
your application by hardware such as an Intel 8259 Interrupt Controller.
Note These functions can be called from your main() program before AMX has
been launched or after AMX has been shut down.
See Also ajei, ajflagrd, ajflagrddi, ajflagwr