Answer:
<em>2,941,176 interrupts per second</em>
Explanation:
Given that:
<em>The number of words = </em>1 PSW (program status word) + 1 program counter + 32
CPU registers
= 34
<em>The time taken to R/W a memory word = 5 nano seconds </em>
Prior to the interrupt, 34 words are needed to be pushed into the stack, and 34 words are needed to pop out of the stack after the interrupt is handled.
Therefore, in total 68 words are needed during the Read and Write execution.
To calculate the number of interrupts handled by the machine, we have to first establish the time required to read and write 68 words:
= 68 x 5nsec
= 340nsec
= 340 x sec (converting it to seconds)
maximum number of interrupts = interrupts.