1 / 8

Parul Polytechnic Institute

Subject Code : 3330705 Name Of Subject : Microprocessor and assembly language programming Name of Unit : 8085 Intrrupts Topic : 8085 Intrrupts Name of Faculty : H.M.Avaiya & N.D.Dhameliya Name of Students: (i) PARMAR VAIBHVI H(002) (ii) SHAH SHALU V(003).

xanthe
Download Presentation

Parul Polytechnic Institute

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Subject Code : 3330705 Name Of Subject : Microprocessor and assembly language programming Name of Unit : 8085 Intrrupts Topic : 8085 Intrrupts Name of Faculty : H.M.Avaiya & N.D.Dhameliya Name of Students: (i) PARMAR VAIBHVI H(002) (ii) SHAH SHALU V(003) Parul Polytechnic Institute

  2. 8085 INTERRUPTS Parul Polytechnic Institute H.M.Avaiya

  3. INTRODUCTION • Interrupt is a process where an external device can get the attention of the microprocessor. • The process starts from the I/O device • The process is asynchronous. • An interrupt is considered to be an emergency signal that may be serviced. • The Microprocessor may respond to it assoon as possible. Parul Polytechnic Institute H.M.Avaiya

  4. INTRODUCTION • What happens when MP is interrupted ? • When the Microprocessor receives an interrupt signal, it suspends the currently executing program and jumps to an Interrupt Service Routine (ISR) to respond to the incoming interrupt. • Each interrupt will most probably have its own ISR. Parul Polytechnic Institute H.M.Avaiya

  5. Interrupts in 8085 When the interrupt signal arrives: • The processor will break its routine • Go to a different routine (interrupt service routine) • Complete the interrupt service routine(ISR) • Go back to the “regular” routine Parul Polytechnic Institute H.M.Avaiya

  6. Interrupts in 8085 In order to execute an interrupt routine, the processor: • Should be able to accept interrupts (interrupt enable) • Save the last content of the program counter • Know where to go in program memory to execute the ISR • Tell the outside world that it is executing an interrupt • Go back to the saved PC location when finished. Parul Polytechnic Institute H.M.Avaiya

  7. Interrupts in 8085 • Interrupts increase processor system efficiency by letting I/O device request CPU time only when that device needs immediate attention. • An interrupt is a subroutine call initialized by external hardware. • The request is asynchronous  it may occur at any point in a program’s execution. Parul Polytechnic Institute H.M.Avaiya

  8. Interrupts in 8085 INTA Interrupt Save program counter Send out interupt acknowledge Disable interrupts Main routine Go to service routine Goback Get original program counter EI RET Service routine Parul Polytechnic Institute H.M.Avaiya

More Related