Friday, January 14, 2011

INTERRUPT IN 8085

the table shows the vector address of all interrupts
INTERRUPTS:
1.Interrupt is signals send by an external device to the processor, to request the processor to perform a particular task or work.
2.The processor will check the interrupts always at the 2nd T-state of last machine cycle.
3.Mainly in the microprocessor based system the interrupts are used for data transfer between the peripheral and the microprocessor.
4.If there is any interrupt it accept the interrupt and send the INTA (active low) signal to the peripheral.
5.vectored address of particular interrupt is stoypes of Interrupts:
6.THE processor executes an interrupt service routine (ISR) addressed in program counter.
7.It returned to main program by RET instruction.
8.It supports two types of interrupts.
Hardware
Software
Software interrupts:
The software interrupts are program instructions. These instructions are inserted at desired locations in a program.
The 8085 has eight software interrupts from RST 0 to RST 7. The vector address for these interrupts can be calculated as follows.
Interrupt number * 8 = vector address
For RST 5,5 * 8 = 40 = 28H
Vector address for interrupt RST 5 is 0028H

1 comment:

  1. really informative....came to know how to calculate vector address...

    ReplyDelete

Note: Only a member of this blog may post a comment.