Many years ago I read that a computer had been designed for military and aerospace applications. An interesting feature was that it lacked any form of interrupt handling mechanism. Why do you think the designers took that decision?
What will be an ideal response?
Interrupts and exceptions are, frankly, messy. They can happen at any time and in any combination; that is, interrupts are non?deterministic. Code without exceptions is deterministic because instructions are executed oneby? one in?order (even if they are not, the hardware ensures that they appear as if they were executed in order).
Interrupts bring several problems. One is interaction between interrupts. The other is the timing of interrupts; for example, a low priority interrupt may not be serviced for a very long time if higher priority interrupts are pending in a system with prioritized interrupts. Consequently, it is difficult to predict the behavior of the system under all
circumstances.
By designing a system without interrupts, you put the control back in the hands of the programmer and the system can be proven valid by formal logic techniques. This may be necessary in highly critical applications.
You might also like to view...
A column, pie slice, or other symbol that represents a data point is called a(n) ________
Fill in the blank(s) with correct word
__________ involves a wide variety of computing sites outside the organization's primary facility and includes all forms of telecommuting.
A. Remote site computing B. Telecommuting C. Remote working D. Hot site computing