a.)
O -0
? o
CA
--- Content provided by FirstRanker.com ---
ai"0 '-
0
E: 0
0
--- Content provided by FirstRanker.com ---
E c-o
.
?
0
--- Content provided by FirstRanker.com ---
C t=
co *a'
O
?
--- Content provided by FirstRanker.com ---
'0
? GO
-71
--- Content provided by FirstRanker.com ---
o?
2
0
z
--- Content provided by FirstRanker.com ---
0E
USN
NME
17EC563
--- Content provided by FirstRanker.com ---
Fifth Semester B.E. Degree Examination, 1)ec.2019/.
..fart,2020
8051 Microcontroller
Time: 3 hrs. Max. Marks: 100
--- Content provided by FirstRanker.com ---
Note: Answer any FIVE full questions, choosing ONE full question from each module.Module-1
1 a. Write the comparison between Microprocessor and Microcontroller. (05 Marks)
b. Define Embedded System and write the characteristics of an Embedded System. (05 Marks)
c. Write and explain the Architecture of 8051 Microcontroller and also explain the PSW, RAM
--- Content provided by FirstRanker.com ---
memory organization.1
(10 Marks)
? .)
--- Content provided by FirstRanker.com ---
=OR
rz.
2 a. Write and explain the pin diagram of 8051 Microcontroller. (10 Marks)
oc
--- Content provided by FirstRanker.com ---
b. Explain the Interfacing of 16K EPROM and 8K RAM to 8051 Microcontroller. (10 Marks)C
C
1
;
--- Content provided by FirstRanker.com ---
E COt)
4) V
b. Explain the following instructions with an example:
(i) DJNZ R?, rel
--- Content provided by FirstRanker.com ---
MOVC A, @A+DPTR(iii) RRC A
(iv) PUSH 02
(v) DAA (10 Marks)
OR
--- Content provided by FirstRanker.com ---
4 a. Explain Call and Jump Instructions. (06 Marks)b. Explain any four directives. (04 Marks)
c. Write and explain an Assembly Language Program to divide the data in RAM location in
38H by data in 15H and store the quotient in 70H and remainder in 71 H. (10 Marks)
Module-3
--- Content provided by FirstRanker.com ---
5 a. Write and explain an Assembly Language Program to transfer five 8-bit of data from startingmemory location 30H to other memory starting at 40H. (08 Marks)
b. Write and explain an Assembly Language Program to find largest 8-bit number form the
given five 8-bit numbers. (08 Marks)
c. Write and explain an Assembly Language Program to toggle all the bits of port 1, with a
--- Content provided by FirstRanker.com ---
time delay between toggling. (04 Marks)OR
6 a.
Write and explain an Assembly Language Program to read the lower nibble of data by P
o
--- Content provided by FirstRanker.com ---
isto be displayed on LEDS are connected to upper 4-bits of P
I
. (10 Marks)
b. Write and explain an Assembly Language Program to Add two 32-bit numbers. The
--- Content provided by FirstRanker.com ---
numbers are stored from RAM location 40H and 50H respectively. Store the result fromRAM location 60H. (10 Marks)
Module-2
3 a. Write and explain the Addressing modes of 8051 Microcontroller with an example.
(10 Marks)
--- Content provided by FirstRanker.com ---
FirstRanker.com - FirstRanker's ChoiceP. a.
a.)
O -0
? o
--- Content provided by FirstRanker.com ---
CAai
"0 '-
0
E: 0
--- Content provided by FirstRanker.com ---
0E c-
o
.
?
--- Content provided by FirstRanker.com ---
0C t=
co *a'
O
--- Content provided by FirstRanker.com ---
?'
0
? GO
-71
--- Content provided by FirstRanker.com ---
o
?
2
0
--- Content provided by FirstRanker.com ---
z0
E
USN
NME
--- Content provided by FirstRanker.com ---
17EC563Fifth Semester B.E. Degree Examination, 1)ec.2019/
.
..fart,2020
8051 Microcontroller
--- Content provided by FirstRanker.com ---
Time: 3 hrs. Max. Marks: 100Note: Answer any FIVE full questions, choosing ONE full question from each module.
Module-1
1 a. Write the comparison between Microprocessor and Microcontroller. (05 Marks)
b. Define Embedded System and write the characteristics of an Embedded System. (05 Marks)
--- Content provided by FirstRanker.com ---
c. Write and explain the Architecture of 8051 Microcontroller and also explain the PSW, RAMmemory organization.
1
(10 Marks)
? .)
--- Content provided by FirstRanker.com ---
=
OR
rz.
2 a. Write and explain the pin diagram of 8051 Microcontroller. (10 Marks)
--- Content provided by FirstRanker.com ---
ocb. Explain the Interfacing of 16K EPROM and 8K RAM to 8051 Microcontroller. (10 Marks)
C
C
1
--- Content provided by FirstRanker.com ---
;E CO
t)
4) V
b. Explain the following instructions with an example:
--- Content provided by FirstRanker.com ---
(i) DJNZ R?, relMOVC A, @A+DPTR
(iii) RRC A
(iv) PUSH 02
(v) DAA (10 Marks)
--- Content provided by FirstRanker.com ---
OR4 a. Explain Call and Jump Instructions. (06 Marks)
b. Explain any four directives. (04 Marks)
c. Write and explain an Assembly Language Program to divide the data in RAM location in
38H by data in 15H and store the quotient in 70H and remainder in 71 H. (10 Marks)
--- Content provided by FirstRanker.com ---
Module-35 a. Write and explain an Assembly Language Program to transfer five 8-bit of data from starting
memory location 30H to other memory starting at 40H. (08 Marks)
b. Write and explain an Assembly Language Program to find largest 8-bit number form the
given five 8-bit numbers. (08 Marks)
--- Content provided by FirstRanker.com ---
c. Write and explain an Assembly Language Program to toggle all the bits of port 1, with atime delay between toggling. (04 Marks)
OR
6 a.
Write and explain an Assembly Language Program to read the lower nibble of data by P
--- Content provided by FirstRanker.com ---
ois
to be displayed on LEDS are connected to upper 4-bits of P
I
. (10 Marks)
--- Content provided by FirstRanker.com ---
b. Write and explain an Assembly Language Program to Add two 32-bit numbers. Thenumbers are stored from RAM location 40H and 50H respectively. Store the result from
RAM location 60H. (10 Marks)
Module-2
3 a. Write and explain the Addressing modes of 8051 Microcontroller with an example.
--- Content provided by FirstRanker.com ---
(10 Marks)17EC563
Module-4
7 a. Explain TMOD and TCON registers.
(08 Marks)
--- Content provided by FirstRanker.com ---
b. Write and explain an Assembly language program to toggle P1
.5 every 1 second. Use Timerl
in model . Assume crystal oscillator frequency is 11.0592 MHz. (08 Marks)
c. Explain SCON register. (04 Marks)
--- Content provided by FirstRanker.com ---
OR8 a. Write and explain a C program and assembly to generate a square wave of frequency 10 kHz
on Pin 1.4. Use timer() in model with a crystal frequency of 22 MHz. (10 Marks)
b. Write and explain a C program and assembly to transfer "VTU" serially with a baud rate of
9600. Assume crystal oscillator frequency is 11.0592 MHz. (10 Marks)
--- Content provided by FirstRanker.com ---
Module-59 a. Explain IE register. (04 Marks)
b. Write and explain a C program and assembly to generate a square wave on P2.4 with high of
1 ms and low portion of 2 ms using timerl in interrupt mode with a crystal oscillator
frequency of 11.0592 MHz and also read the value of port? and display is on port'.
--- Content provided by FirstRanker.com ---
(08 Marks)c.
Write and explain an assembly language program to do the following:
(i) Reads data from port P
1
--- Content provided by FirstRanker.com ---
and writes it to P. continuously.(ii) Also the data at P
i
is transferred serially.
(iii) The data received serially is displayed at
--- Content provided by FirstRanker.com ---
Po.Assume 11.0592 MHz crystal frequency 9600 baud rate. (08 Marks)
OR
10 a. Write and explain a C program and assembly to interface an ADC 0804 to 8051
Microcontroller and display on P2. (10 Marks)
--- Content provided by FirstRanker.com ---
b. Write and explain a C program and assembly to monitor the status of a switch SW connectedto Pin P2.7 and perform the following:
(i) If SW = 0, the stepper motor rotates clockwise.
(ii) If SW = 1, the stepper motor rotates in anticlockwise.
Use the wave-drive 4-step sequence. (10 Marks)
--- Content provided by FirstRanker.com ---
2 of 2FirstRanker.com - FirstRanker's Choice