You are on page 1of 1

ECP2036 - MICROPROCESSOR SYSTEM & INTERFACING

TUTORIAL 5 – INTERRUPT SYSTEM

Q1.
How many interrupt sources that can be found in the 8051? List them together with their
vector addresses.

Q2.
List the steps followed by a microcontroller once it has accepted an interrupt.

Q3. Following instructions are executed by an 8051 microcontroller

MOV IE, #93H


MOV IP, #12H

- Which interrupts are enabled?


- Which interrupt has highest priority?
- What is the sequence of servicing the interrupts if all enabled interrupts
occur simultaneously?

Q4.
Assume all interrupts sources are always enabled. What is the sequence of servicing the
interrupts upon system reset if IE0, IE1, TF0, Serial port interrupt and TF1 occur
simultaneously?

Q5.
What is an interrupt vector? What is the first memory address available for main program
when using an interrupt?

Q6.
In an 8051 based system, the INT0, INT1, and Timer1 interrupts should be enabled and
all others should be disabled. Moreover, if INT1 interrupt is active, then a 500Hz signal is
to be generated through P1.0 (using timer 1 interrupt). The signal will be terminated
when INT0 is active. Write the necessary:

- Initialization code for the Main program


- Interrupt service routine.

with appropriate assembler directives for the above.

You might also like