This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Every one,
Disabled interrupts, the program will be called accidentally when running, What occasions can cause this situation?
Hi tlee,
this is another question, I want to know the difference between an illegal interrupt and a program entry to an interrupt that is not enabled? Under what circumstances will cause the above two phenomena?
Shaoxing,
I am interpreting your reference to "illegal interrupt" as the Illegal-Instruction trap interrupt. This is triggered when the CPU tries to execute an invalid instruction.
Disabled interrupts are masked under normal operation and there is typically no way for the system to trigger them. Exceptions would be the INTR instruction that you encountered in the other thread, or an improper implementation of nested interrupts.
-Tommy