by emilyw on November 6th, 2005

emilyw

Question

Help answer this question below.

What is a software interrupt handler?

Answers. 1 helpful answer below.

  • by TulsaDavid on November 8th, 2005

    TulsaDavid

    It is code which is executed when an interrupt occurs.

    Interrupts can range from you typing ctrl-c, to the tick of your computer's clock, to reaching the end of a file, to opening a port, to the click of a mouse, etc, etc. Any interrupt sends a signal that gets the attention of the CPU. Hardware interrupts are generated when a key is pressed or when the mouse is moved. Software interrupts are generated by a program requiring disk input or output.

    Interrupt handlers are written and registered with your computer so that it knows to execute them upon specific interrupts. They require special care when writing them. If you were to have an error in an interrupt handler that fired off its own interrupt, you would crash your computer. Usually when writing an interrupt handler, disable that interrupt until the handler code is done.

    • Like
    • Report

    1 comment | Post one | Permalink

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

More Questions. Additional questions in this category.

You're reading What is a software interrupt handler?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Software interrupt handler
Software interrupt handling
Handler software
Interrupt handler
Software interrupt
Software interrupt handlers
Interrupt handler program
Software handlers
What is software interrupt handling
How many dormant volcanoes are there in the world