Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 2: Consider a multiple interruption scenario with priority. Three devices are connected to a computer that executes a user program. The normal duration of
Exercise 2: Consider a multiple interruption scenario with priority.
Three devices are connected to a computer that executes a user program. The normal duration of the user program without any interruptions is TO= 50 sec. The execution of the user program starts at time t0-0 sec.
Device 1: during the execution of the user program, device 1 produces an interrupt request
at time t1-15sec. The priority of this device is P1 = 3, and the duration of its normal
execution without interruption is T1 = 15sec. Device 2: at time t2-20 sec, device 2 issues an interrupt request, and the priority of the
device is P2-6. The duration of its normal execution without interruption is T2 = 20sec. Device 3: at time t3-35sec, device 3 issues an interrupt request, and the priority of the
device is P3= 2. The duration of execution of this interrupt program is T3 = 10sec. 1- Summarize in a table the time of beginning and end of executions relative to the main
program and the peripheral devices 1, 2, 3. 2- By considering the priority of interrupt, explain the execution order of the scenario.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started