Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

(1) explain what the cpu should do when an interrupt occurs. include in your answer the method the cpu uses to detect an interrupt, how it is handled, and what happens when the interrupt has been serviced.