How Are Interrupts Handled In 8086?

How Are Interrupts Handled In 8086? Hardware interrupt is caused by any peripheral device by sending a signal through a specified pin to the microprocessor. The 8086 has two hardware interrupt pins, i.e. NMI and INTR. NMI is a non-maskable interrupt and INTR is a maskable interrupt having lower priority. How does a microprocessor handle