0% found this document useful (0 votes)
7 views1 page

Microcontroller04Sept21 1

Microcontroller and interfacing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Microcontroller04Sept21 1

Microcontroller and interfacing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

VISHWAKARMA GOVERNMENT ENGINEERING COLLEGE

DEPARTMENT OF INSTRUMENTATION & CONTROL ENGINEERING


MID SEM EXAMINATION-September 2021 (ONLINE)
SUBJECT: MICROCONTROLLER & INTERFACING (SUB CODE:3151707) SEM: V
Date: 02/09/2021 Time:04:00 to 5:30pm

Marks CO
Q-1 (a) Draw and explain port 0 and port1 internal architecture. 04 CO1
(b) Compare microcontroller with microprocessor. 03 CO1
(c) Explain the function of following pins of 8051. 03 CO1
1) ALE
2) EA’/VPP
3) PSEN’

Q-2 (a) Draw and explain the interfacing circuit to interface 4K RAM and 4K bytes of 04 CO1
ROM with 8051 microcontroller.
OR
Q-2 (a) With function of each pin, explain 8051 features. 04 CO1
Q-2 (b) Explain the modes of data transfer instruction with example. 04 CO2

OR
Q-2 (b) Explain stack with ref. to 8051 and instruction related to stack. 04 CO2

Q-3 Write an assembly language program (Any Three) 12 CO2


1. Ten data byes are stored in internal RAM location starting from an address 30H
to 39 H. Write a program to transfer all the data bytes to a different RAM
location 60H to 69 H.
2. Write a program to count no of 1s in a data stored in ROM location 1000H.
Illustrate by loading the data first on the ROM location 1000H.
3. Ten readings are stored in RAM location through scanning different
parameters. The readings are in signed arithmetic. Write a program to find out
from the set of 10 readings, how many readings are negative? Display the count
of negative number on port0.
4. Write a program to convert 8 bit unpacked binary number to a packed BCD
number.
5. Three data bytes are stored in RAM location 20H to 22H. Write a program to
find out the largest of the data and display the same on port1.

Page 1 of 1

You might also like