Cramster.com - Homework Solutions, Lecture Notes, Exams, and Free Online Homework Help
Sign Up Now! Login Customer Support
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Problem Solved.
    Home    
    Homework Help    
   Answer Board   
    Resources (Beta)    
   
Member's Topic Headline:

CA

Know the answer? Have a better solution? Share it.
Get Help Now.
View homework problems
explained for free!
Member Testimonials

Question:

Advertisement:

Answer | Ask New Question | Customize Profile | Leaderboards | 
FAQ

Member's Avatar

Rookie
Karma Points: 0
Respect (6%):
Date Posted: 7/23/2008 7:39:42 AM  Status: Live
CA
Course Textbook Chapter Problem
Computer Architecture N/A N/A N/A
Question Details:

What steps are involved in the interrupt handling? Explain pictorially in the form of flowchart.

Answers:

Member's Avatar

Expert
Karma Points: 954
Date Posted: 7/23/2008 7:58:21 AM  Status: Live
Asker's Rating: None Provided    Moderator's Rating: N/A
Response:
 
Dear user
                    Hope this will help yu..................
 
 Usually this interrupt cycle is placed along with instruction cycle,ie when an interrupt occurs during execution of instructionas below.
 
 

 

  1. Device sends the interrupt signal to processor
  2. Processor finish the current instruction execution
  3. And then saves the contents on stack
  4. Acknowledge the  interrupt and starts executing.
  5. After execution of interrupt processor return back to process states,restores contents of stack and executes.

Member's Avatar

Mentor
Karma Points: 527
Date Posted: 7/23/2008 8:05:43 AM  Status: Live
Asker's Rating: None Provided    Moderator's Rating: Somewhat Helpful
Response:

hiiiiiiii frnd,

for more information and pictorial view plz visit..

http://www.google.co.in/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=What+steps+are+involved+in+the+interrupt+handling&meta=&btnG=Google+Search

Interrupt : A change in execution caused by an external event

 Have device tell OS/CPU it is ready.

Requires hardware to support.

OS/CPU can then interrupt what it is doing  to:

§         Determine what device wants service

§         Perform or start the service.

§         Go back to what OS/CPU was doing.

§         Determine what service it wants.

 

Single interrupt system::

Finish current instruction.

Save program counter in IRL.

Load program counter with content of IHL.

Multiple interrupt system.

Steps in handling interrupts

 

 

 

Disable further interrupts.

Store current state of program.

Execute appropriate interrupt handling routine.

Restore state of program.

Enable interrupts.

Resume program execution.

Interrupt priority

 

 

When multiple I/O devices are present in an interrupt system, two difficulties must be resolved:                               

 

  • How to handle interrupt requets from

more than one device at a time.

  •  Identification of the selected device.

Assigning priority levels to each device means that highest level priorities will be serviced before lower levels.








By reading or posting messages on these forums, you are agreeing to the Answer Board's Terms of Service and Conduct (TSC).


About Cramster | Terms of Use | Privacy Policy | Contact Us | Press Room | Site Map | Support | Anti-Cheating Policy

Cramster.com is not affiliated with any publisher. Book covers, title and author names appear for reference only.
Copyright © 2008 Cramster, Inc.