S. S.
AGRAWAL INSTITUTE OF ENGINEERING AND TECHNOLOGY, NAVSARI
ELECTRICAL ENGINEERING DEPARTMENT
Microprocessors and Microcontrollers [3160914]
Unit-1/ Unit-2
FAQ / QUESTION BANK / ASSIGNMENT
Sr.
Questions Marks
No.
1 Explain basic differences (1) Van neuman and Harvard architecture (2) 3
CISC and RISC.
2 List out differences between Microprocessor & Microcontroller. 4
3 Draw Architectural block diagram of 8085 processor and explain the function of 7
each block.
4 Draw programming model of 8085 microprocessor and explain flag 4
register in brief.
5 What is the function of following pins in 8085:
HLDA, HOLD, READY, RESET OUT, RESET IN, IO/M, ALE, SOD, SID, TRAP,
INTA, CLK OUT
6 What are tri-state devices & why they are essential in bus oriented system? 4
7 Illustrate how address/data lines AD0-AD7 are de-multiplexed in 8085 μp? 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.
1 For 8051 μc operations define: pulse, state and machine cycle. 3
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.
4 Explain the function of following pins of 8051 microcontroller: 3
ALE, Vcc, RESET, RXD, PSEN, ALE
5 Discuss the internal RAM structure of 8051. 3,7
6 Explain register banks of 8051. How banks can be selected? 4
7 Explain 8051 program status word (PSW) register in brief. 3
8 Draw and explain Port-2 architecture of 8051. 4
9 Draw and explain Reset circuit of 8051. 3
S. S. AGRAWAL INSTITUTE OF ENGINEERING AND TECHNOLOGY, NAVSARI
ELECTRICAL ENGINEERING DEPARTMENT
Microprocessors and Microcontrollers [3160914]
Unit-4
FAQ / QUESTION BANK / ASSIGNMENT
Sr.
Questions Marks
No.
1 Discuss various addressing modes of 8051 microcontroller assembly language 4
programming.
2 Explain editor, assembler, compiler and linker. 3
3 C programming is more preferred over assembly programming for 8051 μc. Justify 3
your answer with proper reason.
4 What is an assembler directive? Give at least four examples of assembler directives 7
and explain function of each in brief.
5 Explain advantages of IDE in program development. 3
6 Differentiate between SJMP, AJMP and LJMP for 8051 μc programming. 3
7 Illustrate execution of PUSH and POP instruction for 8051 μc. 3
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.
10 Explain and Differentiate between the following instructions of 8051 7
microcontroller.
(i) SWAP and XCHG
(ii) MOVX and MOVC
(iii) Bit level ANL and byte level ANL
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
4 Explain all the bits of TCON register. 4
5 Explain all the bits of TMOD register. 4
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.
11 List out steps in executing an interrupt for 8051 μc. 3
12 Explain IE register in brief. 4
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.
14 Explain 8051 interrupt‟s priority. How the priority can be modified? 4
15 Write a C program using interrupts to make timer 0 to generate a square wave of 5 7
KHz frequency on P0.1. Assume XTAL =11.0592 MHz.
S. S. AGRAWAL INSTITUTE OF ENGINEERING AND TECHNOLOGY, NAVSARI
ELECTRICAL ENGINEERING DEPARTMENT
Microprocessors and Microcontrollers [3160914]
Unit-9/ Unit-10 / Unit-11
FAQ / QUESTION BANK / ASSIGNMENT
Sr.
Questions Marks
No.
1 Draw an interfacing scheme to interface 16K EPROM and 8K RAM with 8031. 7
Also specify address range.
2 Draw and explain 8051 connection to external RAM (8K x 8) 3
3 Draw an interfacing scheme to interface ADC0809 with 8051. 4
4 Explain interfacing of 8051 with ADC 0808. 4
5 In what way is the ADC0808 is different from ADC0804? 3
6 What is the normal operating frequency of ADC0804? When interfacing ADC0804 4
with 8051 μc, what care need to be taken if CLK input is from 8051 μc?
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.
8 Interface a DAC to 8051 microcontroller and write an assembly language program 7
to generate triangular wave using DAC interface
9 Draw interfacing diagram for interfacing of DC motor to 8051 μc using optoisolator 4
and using a MOSFET transistor.
10 Explain interfacing of DC motor using H-bridge circuit with 8051 microcontroller. 4
11 Discuss how the speed and direction of DC motor can be controlled using 7
microcontroller.
12 Draw an interfacing scheme to interface 4 x 4 matrix keyboard with 8051. 3
13 Discuss the interfacing of seven segment display with 8051 with necessary diagram. 7
14 Draw an interfacing scheme to interface (20X2) LCD display with 8051 4
microcontroller.
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.