Software Interrupts in 8085.....(Interrupt Contd..)

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:





                                         

6 comments:

  1. I like this post but still I'm looking forward to
    microprocessor software design. Nice!

    ReplyDelete
  2. It would be more better if you have included one example of program having software interrupt. Anyway, this is good try. i appreciate your step.

    ReplyDelete
  3. What is the triggering used for RST 5 software interrupt? (level or edge triggering)

    ReplyDelete
  4. all this information was a little overwhelming at first for a beginner like me, but write for us + technology learning from all these websites has really helped me grow and learn more.

    ReplyDelete