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:





                                         

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

  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
    Replies
    1. which type of triggering for s/w interrupts

      Delete

Labels

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