There are five interrupt pins in 8085 and one interrupt acknowledge (INTA) pin.
- Pin 6 to pin 10 interrupts have the priorities from highest to lowest in decreasing order.
- Priority means which interrupt gets the acknowledgement first if more than one are interrupting the microprocessor.
Maskable and Non-Maskable Interrupt
Maskable interrupts: An interrupt which can be disabled by software that means we can disable the interrupt by sending appropriate instruction, is called a maskable interrupt.
RST 7.5, RST 6.5, and RST 5.5 are the examples of Maskable Interrupt.
Non-Maskable interrupts: As name suggests we cannot disable the interrupt by sending any instruction is called Non Maskable Interrupt. TRAP interrupt is the non-maskable interrupt for 8085. It means that if an interrupt comes via TRAP, 8085 will have to recognize the interrupt we cannot mask it.
No comments:
Post a Comment