118k views
3 votes
Differentiate hardware andsoftware interrupts?

1 Answer

3 votes

Answer:

-Hardware interrupts are the interrupts that occur due to the external devices.

-Software interrupt arises due to the executing program.

Step-by-step explanation:

  • Hardware Interrupts are the raised due to external hardware devices whereas the software interrupts are raised by the executing instruction.
  • Asynchronized events occur in the hardware interrupts whereas software interrupt face the synchronized events.
  • There is increase in the program counter in software interrupt but no increment in the program counter for the hardware interrupt.

User Pcoates
by
6.9k points