[amp_mcq option1=”IV and NMI” option2=”NMI and INTR” option3=”INTR and IV” option4=”PC and NMI” correct=”option2″]
The correct answer is B. NMI and INTR.
NMI stands for Non-Maskable Interrupt. It is a high-priority interrupt that cannot be masked by software. INTR stands for Interrupt Request. It is a lower-priority interrupt that can be masked by software.
IV stands for Interrupt Vector. It is a memory location that contains the address of the interrupt service routine. PC stands for Program Counter. It is a register that contains the address of the next instruction to be executed.
NMI and INTR are the two external interrupt signals in 80386. When an NMI or INTR signal is received, the 80386 will save the current state of the CPU and then jump to the address stored in the interrupt vector. The interrupt service routine will then execute until it returns to the 80386, which will then restore the previous state of the CPU and continue executing the program.
NMI is used for critical events that require immediate attention, such as a power failure or a hardware error. INTR is used for less critical events, such as a keyboard interrupt or a mouse interrupt.