Interrupt Handling
ADSP-218x, interrupt nesting disabled
Service interrupt:
- Push PC onto PC stack.
- Push ASTAT, MSTAT and IMASK onto status
stack.
- Set IMASK to zero.
RTI (return from interrupt):
- Pop ASTAT, MSTAT and IMASK from status
stack.
- Pop PC from PC stack.
ADSP-219x, interrupt nesting disabled
Service interrupt:
- Set undocumented internal flag to disable all interrupts.
- Push PC onto PC stack.
- Push ASTAT and MSTAT onto status stack.
RTI (return from interrupt):
- Pop ASTAT and MSTAT from status stack.
- Pop PC from PC stack.
- Clear undocumented internal flag to re-enable interrupts (if
interrupts are globally enabled, and the specific interrupt is enabled in
IMASK).