A computer with interrupt-driven I/0 has an interrupt response time of 4 ,s (i. e., it takes

Question:

A computer with interrupt-driven I/0 has an interrupt response time of 4 µ,s (i. e., it takes 4 µ,s to invoke the interrupt handler and begin executing the target code). Similarly, it takes 2 µ,s to return from the interrupt and begin executing the interrupted program. 

a. If th is computer executes 10 instructions per microsecond and the interrupt handler is 10 instructions long, how efficient 1s interrupt handling? 

b. If interrupt handling is approximately 80% efficient, how large should the interrupt handler be (in terms of instructions)?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: