Hello Summit

"all the best for the upcoming exams."

Monday, May 16, 2011

Explain the term hardware interrupts and software interrupts. [HSEB 2060]

= Interrupt allows the current program to be suspended while a higher priority task is executed. The real time and multi tasking operating system (OS) follows interrupts techniques. There are two types of interrupts:
a) Hardware interrupt (external) and,
b) Software interrupt (internal)
a) Hardware interrupt: A hardware interrupt causes the processor to save its state of execution and begin execution of an interrupt handler. These are initiated through the computer’s interrupt pins by external devices. External or hardware interrupt can further be divided into: (i) Mask able and (ii) Non-Mask able.
b) Software interrupt: Interrupt signals initiated by programs are called software interrupts. Software interrupts arise from illegal or erroneous use of an instruction or data. Software interrupts are called traps or an exception.

1 comment:

  1. NETSOL Technologies Inc is a worldwide provider of global IT
    and enterprise application solutions which include credit and finance portfolio management systems,
    SAP consulting, custom development, systems integration and technical services. Asset Finance Software
    Asset Finance Software

    ReplyDelete