The following are steps the CPU takes in an interrupt. Put the steps in order and write down the order below. We realize there are several correct answers and getting just one of them will suffice. A. CPU: completes the current instruction B. CPU: grants the interrupt for the device i. sends interrupt acknowledge to the device (IACK) C. ISR: Restore saved registers from the stack and executes return from exception instruction D. CPU: must save the state of the cpu before servicing the interrupt (pushing on the stack) i. current PC ii. condition codes (CCR of status register) E. Program: CPU configures device for interrupts F. Device: sends a vector number to the cpu G. CPU: figures out what ISR to run i. uses vector to look up the address of that routine in the interrupt vector table H. CPU: Executes ISR I. CPU: return to point of execution where interrupted J. Program: CPU makes a request from device, and works on something else while waiting K. ISR: Saves Registers onto the stack (Callee Save) and execute L. Device: when device is ready, it sends an interrupt request to the cpu M. CPU: temporarily disables other interrupts N. CPU: restores PC and CCR

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
with Proper explanantion
The following are steps the CPU takes in an interrupt. Put the
steps in order and write down the order below. We realize there
are several correct answers and getting just one of them will
suffice.
A. CPU: completes the current instruction
B. CPU: grants the interrupt for the device
i. sends interrupt acknowledge to the device (IACK)
C. ISR: Restore saved registers from the stack and executes
return from exception instruction
D. CPU: must save the state of the cpu before servicing the
interrupt (pushing on the stack)
i. current PC
ii. condition codes (CCR of status register)
E. Program: CPU configures device for interrupts
F. Device: sends a vector number to the cpu
G. CPU: figures out what ISR to run
i. uses vector to look up the address of that routine in the
interrupt vector table
H. CPU: Executes ISR
I. CPU: return to point of execution where interrupted
J. Program: CPU makes a request from device, and works on
something else while waiting
K. ISR: Saves Registers onto the stack (Callee Save) and
execute
L. Device: when device is ready, it sends an interrupt request to
the cpu
M. CPU: temporarily disables other interrupts
N. CPU: restores PC and CCR
Transcribed Image Text:The following are steps the CPU takes in an interrupt. Put the steps in order and write down the order below. We realize there are several correct answers and getting just one of them will suffice. A. CPU: completes the current instruction B. CPU: grants the interrupt for the device i. sends interrupt acknowledge to the device (IACK) C. ISR: Restore saved registers from the stack and executes return from exception instruction D. CPU: must save the state of the cpu before servicing the interrupt (pushing on the stack) i. current PC ii. condition codes (CCR of status register) E. Program: CPU configures device for interrupts F. Device: sends a vector number to the cpu G. CPU: figures out what ISR to run i. uses vector to look up the address of that routine in the interrupt vector table H. CPU: Executes ISR I. CPU: return to point of execution where interrupted J. Program: CPU makes a request from device, and works on something else while waiting K. ISR: Saves Registers onto the stack (Callee Save) and execute L. Device: when device is ready, it sends an interrupt request to the cpu M. CPU: temporarily disables other interrupts N. CPU: restores PC and CCR
Expert Solution
Abstract:

Interrupt:

The signals which are sent to the CPU using external devices or I/O devices are known as Interrupt. This advises the CPU to stop the operating system and figure out how to execute the appropriate part of the operating system.

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY