MPMC_ Assignments
MPMC_ Assignments
Sr.
Questions Marks
No.
1 Explain basic differences (1) Van neuman and Harvard architecture (2) 3
CISC and RISC.
3 Draw Architectural block diagram of 8085 processor and explain the function of 7
each block.
6 What are tri-state devices & why they are essential in bus oriented system? 4
8 Draw and explain in brief timing diagram for instruction MVI A, 32h. 4,7
9 Draw and explain timing diagram of following instruction for 8085 μp : 4,7
MOV A,B
MOV C,A
MOV C,M
MOV M,D
STA 2000H
LDA 2200H
IN 10H
OUT 20H
10 (1) The first operation performed by the microprocessor during execution of each 3
instruction is _________.
(2) If the memory chip size is (512 x 8), the number of chips required in making 4K-
byte memory is _______.
(3) The addressing mode of MOV A, 30H instruction is ________.
S. S. AGRAWAL INSTITUTE OF ENGINEERING AND TECHNOLOGY, NAVSARI
ELECTRICAL ENGINEERING DEPARTMENT
Microprocessors and Microcontrollers [3160914]
Unit-3
FAQ / QUESTION BANK / ASSIGNMENT
Sr.
Questions Marks
No.
2 Draw internal architecture of 8051 controller and explain function of each block. 7
3 Draw the block diagram of 8051 microcontroller. Explain the working of a) Stack 7
and Stack pointer b) Program Counter and Data Pointer.
Sr.
Questions Marks
No.
3 C programming is more preferred over assembly programming for 8051 μc. Justify 3
your answer with proper reason.
8 Explain execution of 8051 μc instructions (i) DJNZ (ii) CJNE (iii) XCHD 3
9 List out different conditional jump instructions and explain any two with example.
11 A 10 bytes of data string is stored at starting from memory location 40h. Write an 7
assembly language program for 8051 microcontroller to transfer this data string to
memory location starting from 50h in reverse order.
12 A 10 bytes of data string is stored at starting from memory location 50h. Write an 7
assembly language program for 8051 μc to find out maximum value from this data
string and store that value at register B .
13 Write assembly language program to find the number of negative number from the 7
array of 10 numbers.
14 Write assembly language program for 8051 μc to count number of 0’s and 1’s in a 7
byte stored in external memory location C500H. Draw flowchart.
S. S. AGRAWAL INSTITUTE OF ENGINEERING AND TECHNOLOGY, NAVSARI
ELECTRICAL ENGINEERING DEPARTMENT
Microprocessors and Microcontrollers [3160914]
Unit-5/ Unit-6 / Unit-7 / Unit-8
FAQ / QUESTION BANK / ASSIGNMENT
Sr.
Questions Marks
No.
1 Write an 8051 program in embedded C to blink the LED connected to pin P1.5 at a 7
suitable delay interval.
2 Write a for assembly language program for 8051 μc to toggle all bits at PORT 2 7
with a time delay of 20 ms without using timers.
3 Write C program to get bit P1.0 and send it to P2.1 after inverting it. 3
6 Write a 8051 assembly language program to generate a square wave of 1.5 kHz 7
frequency at P2.0 using Timer 0 in Mode 1 with crystal frequency of 12 MHz.
7 Write a „c‟ program that generates a square wave of 1 KHz frequency on P1.0 pin 7
using timer-0 in mode-1. Show timer count calculation.
8 How baud rate can be set in 8051 microcontroller for serial communication? 4
9 Explain the role of SBUF & SCON registers in serial transfer in 8051. 7
10 Write a program that transmits a message “Happy New Year” using serial mode-1 at 7
9600 baudrate. Assume oscillator frequency =11.0592 MHz. Show timer count
calculation for the specified baudrate.
13 Explain the Interrupt facility of 8051 microcontroller using IE and IP register. Also 7
mention the internal priority of Interrupt and their vector locations.
Sr.
Questions Marks
No.
1 Draw an interfacing scheme to interface 16K EPROM and 8K RAM with 8031. 7
Also specify address range.
7 Draw interfacing diagram of 8051 μc to DAC808. For the same connection, consider 7
a switch SW connected to pin P0.1. Write an 8051 μc program: When SW =0, the
DAC output gives a staircase waveform otherwise no action when SW=1.
11 Discuss how the speed and direction of DC motor can be controlled using 7
microcontroller.
13 Discuss the interfacing of seven segment display with 8051 with necessary diagram. 7
15 Write an embedded „C‟ program that displays a message “Happy New Year” in line- 7
1 and “2021” in line-2 of LCD display.
16 List various processing modes of ARM processors with classification and explain 7
complete ARM register set.