We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
4626165
B.Tech. DEGREE EXAMINATION ;
APRIL 2015.
Sixth Semester
Electronics and Communication Engineering
MICROPROCESSORS AND MICROCONTROLLERS
(2009-2012 batches)
Time : Three hours Maximum : 75 marks
PART A —(10 x 2= 20 marks)
Answer ALL questions.
All questions carry equal marks.
1. _ Write an ALP for time delay using a register pair
available in 8085.
2. Differentiate I/O mapped /O and memory mapped
I/O,
3. Draw the control word format for 8255 in BSR
mode,
4 What are the two processing units in 8086
microprocesgor? Mention the basic operation of
these units.What is the limit of LJMP instruction? LXI B, 0007H
What is the role of IE register in timer operations? LOOP: DCX B
What are the functions of watch dog timer? MOV A, B
ORA C
The PIC CPU deals with two addresses in program
memory automatically. What are these? Under A JNC LOOP.
what circumstances are these used?
Or
How should be the period of the PWM output? 12. (a) With the necessary diagrams, write short
Why? notes on the following:
Show how an ADCONO register is used for ADC @ RAM memory interfacing. (4)
Cornero Gi) ROM memory interfacing. (3)
Be rey eae) (b) Draw a flowchart and 8085 assembly
‘ ddi the t
ee ee ree oe tenes eee wn Ge a
All ; Tana register D and E respectively If the sum is
ey ee ene greater than FFH, display 01H at output
: cages : : i
UNIT I | PORT 0; otherwise, display the sum. (4)
UNIT I
(a) With neat sketch, explain the architecture
and signals of 8085 microprocessor. (7) 18. (a) Write 8085 ALP to perform the following:
(b) Explain how many times the following loop
ab + ac where a, b and c are 8 bit binary
will be executed. (4)
numbers. (7)
2 4626165 3 462616514.
15.
16.
()
(a)
(b)
(@)
(b)
(a)
(b)
Write control word to set 8255 Port A as
input and Port B as output and Port C as
input port in model configuration. (4)
Or
Explain the 8086 interrupt cycle, IVT, and
interrupt Acknowledge Sequence. (8)
Discuss the features of 8259 programmable
interrupt controller. (3)
UNIT Il
Write an 8051 Assembly Language Program
for the following scenario. Assume that bit
P2.3 is an input and represents the condition
of an oven. If it goes high, it means that the
oven is hot. Monitor the bit continuously.
Whenever it goes high, send a high-to low
pulse to port P1.6 to turn ona buzzer. (6)
Explain the memory organization of 8051. (5)
_Or
Explain how data are transmitted and
received through serial part of 8051. (6)
Write an assembly language program to copy
of 10 bytes of data: from RAM location
starting at 40H to RAM locations starting at
70H. (5)
4 4626165
tT,
18.
19,
(a)
(b)
(a)
)
UNIT IV
Draw the register file structure of PIC
microcontroller and explain the register
addressing modes. 8
~
LPs f
What are the peripheral interrupts available
in PIC microcontroller.
~
Or
DPD f
Write a program to count 10,000 objects on
the conveyor belt, assuming that a gensor@
gives a pulse for every object moving on the nm
/
- conveyor belt, Generate on interrupt =
that. Use the ISR to give a logic 1 output ong
any port pin. 7 (9) _.
} =
Which bit of INTCON belongs to the Timer oe |
interrupt? Show how it is enabled. (2)
@
UNIT V i al
\ oe
Write a program to interface a stepper motor with y
a microcontroller of your choice, that rotates for a™
step angle of 7.5 degrees. (Nes
Or ——
-—~
&
5 4626165
aDesign a Temperature monitoring system with a
microcontroller you have learnt and write an ALP
to monitor the temperature between 40°C and
50°C. qa)
6 4626165