25 Sept 2012

what is mean by interrupt in microprocessor 8085 ?

In very simple sense interrupt in microprocessor 8085 means "order to do  new work with pausing its running work". I think this sentence "order to do  new work with pausing its running work" is bit confusing. let I give you an example to ease the matter.

Step 1 . let 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 hallow / 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 page 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 step which you give the clear picture of how Interrupt is processed in microprocessor 8085.

No comments:

Post a Comment