INTERRUPT PROGRAMMING
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Type 0
|
|
Type 1
|
|
Type 2
|
|
Type 3
|
|
Type 4
|
Detailed explanation-1: -TYPE 1 interrupt represents single-step execution during the debugging of a program. TYPE 2 interrupt represents non-maskable NMI interrupt. TYPE 3 interrupt represents break-point interrupt. TYPE 4 interrupt represents overflow interrupt.
Detailed explanation-2: -Interrupt type. Interrupts have two types: Hardware interrupt and Software interrupt. The hardware interrupt occurrs by the interrupt request signal from peripheral circuits. On the other hand, the software interrupt occurrs by executing a dedicated instruction. Various factors of occurring the interrupt.
Detailed explanation-3: -As the name suggests it is a conditional interrupt instruction, i.e. it is active only when the overflow flag is set to 1 and branches to the interrupt handler whose interrupt type number is 4. If the overflow flag is reset then, the execution continues to the next instruction.