COMPUTER ARCHITECTURE Questions and Answers

What are different types of interrupts in a microprocessor system? Explain?

There are three types of interrupts that can cause a break.

  • External Interrrupts:

From external input/output devices such types of interrupt comes.

  • Internal Interrupts:

These types of interrupts are caused due to any exception caused by the program itself. For example, division by zero or an invalid opcode, etc.

  • Software Interrupts:

Only during the execution of an instruction such type of interruption can occur.  The primary purpose of such interrupts is to switch from user mode to supervisor mode.