4
z
£
3
‘ny teva
USN [ ] 10ES42
Fourth Semester B.
Degree Examination, Dec.2013/Jan.2014
Microcontrollers
Time: 3 hrs. Max. Marks: 100
2a
b,
Note: Auswer FIVE full questions, selecting
at feast TWO questions from cach part.
PART =A
Detine microcontroller, Differentiate between microprocessor and microcontroller,
(0S Marks
With the neat diagram, explain the 805 | architecture, (10) Marko
Briefly explain the dual functions of port-3 pints of S051, (0S Marko
What is addressing mode? Put the number OF AH in registers Ry, Ry and Ry in four different
uldressing modes, (6 Marky
Explain the fisllowing in bit
i) ‘The pin that connects exte
|
jail m
port thi has opeb-arain outpart
fhe reuister that sequences the praycam execution,
iy) PSW, (Oi. iekay
Show the stack cowtents, sp contents and contents of any segister aflecied after each step of
the fallowing Sequences oF aperation;
MOV SP, #70H.
MOW R5, 4301
MOW AL H44EL
Add A, RS
MOW RA A
PUSH 4
PUSH
por 4 (06 Marks)
iii)
Explain the diferent types of conditional and unconditional jump instructions of 80SL,
Specify the different ranges associated with jump instructions. (08 Marks)
Find the address af first two internal RAM locations between 2011 and 40H, which contains
consecutive numbers. [fse, set the carry flag to ane, else clear the carry flag. (06 Marks)
Write an 8051 assembly time delay subroutine to generate a time delay of 100 yisee when
called. Assume crystal frequency as 12 MHz. Show delay calculations. Do not use timers.
(0 Marks)
Give bit size and data range details for the widely’
sed seven °C data types of 8051,
(04 Marks)
Write an 8051 ALP to convert packed BCD number 48 to ASCII and display the result on
port-2 and part-3, (06 Marks)
Write an ALP 8081 program to find the checksum byte of data stream 30H, 4AEL, 6311 and
JOH, Convert the binary value of checksum into decimal and display the value of the BCD
digits on ports Pu. Py and P: (10 Marky)
1ot2