So today we will see that what is Interrupts in microprocessor 8085 ? In my early post we had discussed on the topics like
Now today we will focused on very important topic of any microprocessor that what is Interrupts in microprocessor 8085 ?
What is Interrupts in microprocessor 8085 ?
In very simple sense and simple word interrupt in microprocessor 8085 means “order to do new work with pausing its running active work”. I think this sentence “order to do new work with pausing its running active work” is bit confusing. Let I give you an example to ease the matter. In other word as a definition of “what is Interrupts in microprocessor 8085” we can say “Interrupt is a mechanism by which the processor is made to transfer control from its current Program execution to another program of higher priority.” Interrupt may be generated in the system by externally or internally.
Now to understand the process that how it is worked in microprocessor 8085? Then we have to understand
What is an ISR (Interrupt Service routine)?
When processor gets any interrupt signal then it will stop executing the present work and start to process new work with high priority. The program or routine that is executed with pausing initial work is called ISR (Interrupt Service routine).
Process of interrupt with proper example:
Step 1 . Let take real example and relate it with microprocessor operation. You are seating on a chair read a very interesting story book which you like / in microprocessor let processor doing program of arrange ascending order of 1000 number.
Step2 . Now you heard the telephone ring / in microprocessor now let it got request of interrupt means it get INTR (Interrupt Request) signal.
Step 3 . You pick-up the phone and say hello / in microprocessor send acknowledgement of getting interrupt request to send INTA (Interrupt Acknowledgement ).
Step 4 . You heard that your friend told you please shutdown the main door because it is open / in microprocessor you got the ISR (Interrupt service routine where the order of new work is written).
Step 5 . Now you put a page pointer between the pages which you read / in microprocessor it store the address of current running program, where it interrupted, in stack pointer register.
Step 6 . Now you go there and shutdown the main door and return back to your chair and start reading the story book from where i put the page pointer. / in microprocessor now it process the ISR and after completion of work It pull the stored address of main programmed from stack and execute again.
So in above mansion steps, from which you may get the clear picture of how Interrupt is processed in microprocessor 8085. And it may clear your doubt on what is Interrupts in microprocessor 8085 ?