22
 Asst. Prof. Alkesh Khatri Microprocesso r and Interfacing Unit 2 Intel 8085 Microprocessor Instruction Set and Programming Assignment 2 1. What is Interrupt? Explain Hardware Interrupt and Software Interrupt in details. 2. What is Addressing Modes? List and Explain all addressing modes of 8085 Microprocessor in details. 3. All Instruction of 8085 Microprocessor Assignment 2 Solution 1. What is Interrupt? Explain Hardware Interrupt and Software Interrupt in details. Ans: Interrupt is a mechanism by which an I/O or an instruction can suspend the normal execution of processor and get itself serviced. Generally, a particular task is assigned to that interrupt signal. In the microprocessor based system the interrupts are used for data transfer between the peripheral devices and the microprocessor. Interrupt Service Routine(ISR) A small program or a routine that when executed services the corresponding interrupting source is called as an ISR. Maskable/Non-Maskable Interrupt An interrupt that can be disabled by writing some instruction is known as Maskable Interrupt otherwise it is called Non-Maskable Interrupt. There are 6 pins available in 8085 for interrupt: 1. TRAP 2. RST 7.5 3. RST6.5 4. RST5.5 5. INTR 6. INTA Execution of Interrupts When there is an interrupt requests to the Microprocessor then after accepting the interrupts Microprocessor send the INTA (active low) signal to the peripheral. The vectored address of particular interrupt is stored in program counter. The processor

Mpi Assignment Solution2

Embed Size (px)

Citation preview

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 1/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 2/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 3/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 4/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 5/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 6/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 7/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 8/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 9/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 10/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 11/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 12/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 13/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 14/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 15/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 16/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 17/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 18/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 19/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 20/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 21/22

7/21/2019 Mpi Assignment Solution2

http://slidepdf.com/reader/full/mpi-assignment-solution2 22/22