Professional Documents
Culture Documents
-----------------------------
II-Sessional Examination
Session
Branch
Semester
Subject
Paper Code
Max. Marks: 30
Time: 90 minutes
Answer any FIVE questions from Part-A and any FOUR from Part-B
Assume suitable data if required. Do not write anything on the Question Paper.
PART- A
(5 2 = 10 Marks)
(4 5 = 20 Marks)
7. Ten hex numbers are stored in RAM locations 50H onwards. Write a program to find the smallest
number in the set. The smallest number should finally be saved in 60H.
8. With a frequency of 22 MHz, generate a frequency of 100 KHz on pin P2.3. Use Timer 1 in Mode1.
9. Write a program to generate two square waves, one of 5 KHz frequency at the pin P1.3, and another
of the frequency 25 KHz at pin P2.3. Assume XTAL= 22 MHz.
10. Explain all the steps Carried out while microcontroller getting an interrupt?
11. Define Interrupt Vector Table and Interrupt Service Routine of 8051.