when this interrupt occurs, the processor fetches the bus one instruction usually one of these instructions as given,
one of the 8 RST instructions( RST0 - RST7), the processor saves the current program counter into the stack and the branches from N*8 (where N is 3 bit number from 0 to 7).
call instruction which is a 3 byte inst. the first byte is the address branch which chosen based on the second and the third byte of the instruction set.
The highest priority interrupt in the 8085 is the TRAP interrupt.
The lowest priority interrupt in the 8085 microprocessor is INTR, unless you also consider the software interrupts, RST 0 through RST 7, which are even lower.
The INTA- (Interrupt Acknowledge) pin on the 8085 is an acknowledge of the INTR (Interrupt Request). It has the same timing as RD-, and external hardware is expected to provide an opcode, usually a CALL or an RST instruction, in response to INTA-.
In the 8085, trap, intr, and rstx.5 lines are checked on the falling edge of clock, at the beginning of the last T cycle of an instruction, or approximately one clock cycle before ALE.
The INTR input is automatically disabled in response to an INTR interrupt to prevent the processor from being interrupted by additional INTR requests while it is already handling the current interrupt. This mechanism ensures that the system maintains stability and consistency during interrupt processing, allowing the CPU to complete its current task without being preempted. By disabling the INTR input, the processor can focus on servicing the interrupt without the risk of losing or mismanaging subsequent interrupts.
There are 2 types interrupts in 8085 such as: 1)hardware interrupt 2)software interrupt
In the 8085 microprocessor, a hardware interrupt is a signal from an external device that temporarily halts the CPU's current operations to allow the device to communicate with the processor. A vector interrupt specifically refers to an interrupt that has a predefined memory address (vector) associated with it, which the processor jumps to when servicing the interrupt. For instance, the 8085 has several hardware interrupts, such as INTR, RST 7.5, RST 6.5, and RST 5.5, each with its own unique vector address, allowing for efficient and organized handling of multiple interrupt sources. This mechanism enables real-time processing and responsiveness to external events in embedded systems.
The interrupt request lines on the 8085 (INTR, RST7.5, RST6.5, and RST5.5) can be disabled using the DI (Disable Interrupt) instruction. You re-enable with the EI instruction. Also, RST7.5, RST6.5, and RST5.5 can be individually enabled and disabled using the SIM (Set Interrupt Mask) and RIM (Read Interrupt Mask) instructions. The TRAP interrupt request line cannot be disabled.
At reset, the 8085 starts at location 0000H. The INTR interrupt goes wherever the interrupt opcode says to go. The TRAP interrupt goes to 0024H. The RST5.5, RST6.5, and RST7.5 interrupts go to 002CH, 0034H, and 003CH respectively. The RST X interrupts goto 0000H plus 10H times X, i.e. 0000H, 0008H, 0010H, ..., 0038H.
Intr timer interrupt 0 and 1 external interrupt 0 and 1
when interrupts requests arrive from two or more devices simultaneously , the process has to decide which request should be serviced first and which one should delayed. the processor takes the decision with the help of interrupt priorities.
Interrupt Acknowledgegenerated by the microprocessor in response to INTR. Causes the interrupt vector to be put onto the data bus