Perform on occurrence of an interrupt, Computer Engineering

Assignment Help:

Q. Perform on occurrence of an interrupt?

Determining these requirements let's work out steps that CPU should perform on occurrence of an interrupt.

  • The CPU should find out source of interrupt as this will decide which interrupt service routine is to be executed.
  • The CPU then obtains the address of interrupt service routine which are stored in memory (in general).
  • What occurs to program the CPU was executing before interrupt? This program requires to be interrupted till CPU executes ISR (Interrupt service program). Do we need to do something for this specific program? Well context of this program is to be kept.
  • Ultimately CPU executes interrupt service routine till completion of routine. A RETURN statement signifies the end of this routine. Later the control is passed back to interrupted program.

 


Related Discussions:- Perform on occurrence of an interrupt

Command line argument value, Make a console application to show different m...

Make a console application to show different messages depending on the command line argument value. Use Select-case statements.(same to switch block)

What is check box, A dialog box, generally square, that records an on or of...

A dialog box, generally square, that records an on or off value.

Computers, Purpose: Front line client service. Make bookings for vehicle se...

Purpose: Front line client service. Make bookings for vehicle servicing, accesses client database, prints invoices for clients etc. The mechanics complete worksheets for the variou

What is function overloading, a. Describe function declaration, function de...

a. Describe function declaration, function definition and function cell using a suitable example. Explain the function prototype? b. What is function overloading? When do we use

Advanced topics of html, HTML is made up of many elements, a lot of them ar...

HTML is made up of many elements, a lot of them are overlooked. Though you can develop a Website with the basic knowledge of HTML, to take benefit of many of the advanced features,

Explain ps-2 connector, PS/2 connector (PS/2 keyboards): These were int...

PS/2 connector (PS/2 keyboards): These were introduced with IBM's PS/2 computers and therefore are known as PS/2 connectors.  They have 6-pins but actually their wiring is just

How to correct the error condition while copying file in dos, Q. How to Cor...

Q. How to Correct the error condition while copying file in DOS? In most case, DOS allows you to correct the error condition and retry the command (by pressing R). If the drive

Illustrate what is pascal''s principle, Illustrate what is pascal's princip...

Illustrate what is pascal's principle? Answer:- Pascal's Principle declares that the pressure is transmitted evenly through a liquid. That's why when you pump up a balloon

Explain abstract class, What is an interface and what is an abstract class?...

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?   Abstract classes are closely related to interfaces. They are classe

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd