Software Interrupts:-
A software interrupts is a particular instructions that can be inserted into the desired location in the rpogram. There are eight Software interrupts in 8085 Microprocessor. From RST0 to RST7.



RST0
RST1
RST2
RST3
RST4
RST5
RST6
RST7



They allow the microprocessor to transfer program control from the main program to the subroutine program. After completing the subroutine program, the program control returns back to the main program.



We can calculate the vector address of these interrupts using the formula given below:
                        
                             Vector Address = Interrupt Number * 8
So we can find simply vector address. For Example:



RST2:        vector address=2*8    =  16
RST1:        vector address=1*8    =  08
RST3:        vector address=3*8    =  24



Vector address table for the software interrupts:





                                         

{ 5 comments... read them below or Comment }

Labels

- Copyright © 8085 Microprocessor -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -