Given the following set of events, show which routines the CPU is executing for times 0 to 100 ns. Each handler routine (with its interrupt request)...
View the step-by-step solution to:

Question

So my submission was off but I wasn't given an explanation as to how or why its wrong. can anyone help?

src="/qa/attachment/10700842/" alt="Screen Shot 2019-10-01 at 5.41.59 PM.png" />

Screen Shot 2019-10-01 at 5.41.59 PM.png

Given the following set of events, show which routines the CPU is executing for
times 0 to 100 ns. Each handler routine (with its interrupt request) takes 20 ns to
complete. The priority of the interrupts ranges from IRQ6 as the highest priority
interrupt to IRQ0 as the lowest priority interrupt.
Time
Action
0 ns
Start of main program
10 ns
IRQ1
25 ns
IRQ4
40 ns
IRQ6
50 ns
IRQ3
Time
Action
0 ns:
Start of Main Program
10 ns:
IRQ1
20-35 ns:
IRQ3
35-50 ns:
IRQ4
50-70 ns:
IRQ6
70-75 ns:
IRQ4
75:80 ns: ...
IRQ3 . .
80-90ns:
IRQ1
90-100ns:
Main

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes