MPMC GTU Questions
MPMC GTU Questions
3 marks
Sr. Question Examination
1 For 8051 μc operations define: pulse, state and machine cycle. W22
2 What is the function of following pins in 8085: HOLD, HLDA, W22, S22
READY & RESET OUT
3 Discuss the internal RAM structure of 8051. W22
4 Explain basic differences (1) Van neuman and Harvard W22, S22
architecture (2) CISC and RISC.
5 Differentiate between SJMP, AJMP and LJMP for 8051 μc W22
programming.
6 List out steps in executing an interrupt for 8051 μc. W22
7 Explain editor, assembler, compiler and linker. W22, S22
8 In what way is the ADC0808 is different from ADC0804? W22
9 List various processing modes of ARM processors with S22
classification.
10 Explain 8051 program status word (PSW) register in brief.
11 Write C program to get bit P1.0 and send it to P2.1 after
inverting it.
12 C programming is more preferred over assembly programming
for 8051 µc. Justify your answer with proper reason.
13 Explain advantages of IDE in program development.
14 With the help of diagram show how de-multiplexing of W21
address/data lines AD0- AD7 can be achieved?
15 Draw and explain Reset circuit of 8051.
16 Explain IE register of 8051.
17 Differentiate between MOVX and MOVC instruction.
18 Explain SCON register of 8051.
19 Draw an interfacing scheme to interface 4 x 4 matrix keyboard
with 8051.
4 marks
Sr. Question Examination
1 Draw programming model of 8085 microprocessor and W22
explain flag register in brief.
2 Draw and explain in brief timing diagram for instruction MVI W22
A, 32h.
3 Discuss various addressing modes of 8051 microcontroller W22, S22, W21
assembly language programming.
4 What are tri-state devices & why they are essential in bus W22
oriented system?
5 How baud rate can be set in 8051 microcontroller for serial W22, S22
communication?
6 Explain IE register in brief. W22
7 What is the normal operating frequency of ADC0804? When
interfacing ADC0804 with 8051 μc, what care need to be
taken if CLK input is from 8051 μc?
8 Draw interfacing diagram for interfacing of DC motor to 8051
μc using optoisolator and using a MOSFET transistor.
9 With diagram explain complete ARM register set. S22
10 Illustrate how address/data lines AD0-AD7 are de-
multiplexed in 8085 µp?
11 Explain all the bits of TCON register.
12 Explain interfacing of DC motor using H-bridge circuit with
8051 microcontroller.
13 Explain interfacing of 8051 with ADC 0808.
14 Write a short note on available data types in embedded C.
15 Explain functions of following pins of 8085: (i) IO/M (ii) W21
READY
16 Draw and explain Port-2 architecture of 8051.
17 Explain register banks of 8051. How banks can be selected?
18 Explain 8051 interrupt’s priority. How the priority can be
modified?
19 Draw an interfacing scheme to interface (20X2) LCD display
with 8051 microcontroller.
20 Draw an interfacing scheme to interface ADC0809 with 8051.
21 Draw an interfacing scheme to interface 4-digit common
cathode seven segment display with 8051.
7 marks
Sr. Question Examination
1 A 10 bytes of data string is stored at starting from memory W22
location 50h. Write an assembly language program for 8051
μc to find out maximum value from this data string and store
that value at register B .
2 List various processing modes of ARM processors with
classification and explain complete ARM register set.
3 Write assembly language program for 8051 μc to count
number of 0’s and 1’s in a byte stored in external memory
location C500H. Draw flowchart.
4 Write a for assembly language program for 8051 μc to toggle
all bits at PORT 2 with a time delay of 20 ms without using
timers.
5 Explain the operation of the following instructions of 8051
microcontroller in detail: (i) MOVX (ii) CJNE (iii) DJNZ (iv)
XCHD
6 Explain the role of SBUF & SCON registers in serial transfer in
8051.
7 Write a C program using interrupts to make timer 0 to
generate a square wave of 5 KHz frequency on P0.1. Assume
XTAL =11.0592 MHz.
8 Draw interfacing diagram of 8051 μc to DAC808. For the
same connection, consider 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.
9 Discuss the interfacing of seven segment display with 8051
with necessary diagram.
10 A 10 bytes of data string is stored at starting from memory S22
location 40h. Write an assembly language program for 8051
microcontroller to transfer this data string to memory
location starting from 50h in reverse order.
11 A byte is stored in external memory location 2005H. Write an
8051 µc assembly language program to count number of 0’s
and 1’s in. Draw flowchart.
12 Draw and explain timing diagram of instruction STA 2000H of
8085 µp.
13 Write a 8051 assembly language program to generate a
square wave of 1.5 kHz frequency at P2.0 using Timer 0 in
Mode 1 with crystal frequency of 12 MHz.
14 Explain the Interrupt facility of 8051 microcontroller using IE
and IP register. Also mention the internal priority of Interrupt
and their vector locations.
15 Write an 8051 program in embedded C to blink the LED
connected to pin P1.5 at a suitable delay interval.
16 What is an assembler directive? Give at least four examples
of assembler directives and explain function of each in brief.
17 Explain and Differentiate between the following instructions
of 8051 microcontroller. (i) SWAP and XCHG (ii) MOVX and
MOVC (iii) Bit level ANL and byte level ANL
18 Draw and explain timing diagram of STA 5000H instruction of W21
8085.
19 Write an assembly language program that transfers a set of
ten 8-bit numbers stored in external RAM starting from
1000H to internal RAM starting from 40H. Also, draw
flowchart for the program logic.
20 Write a subroutine that converts Hex digit into its equivalent
ASCII and hence using it write a program to convert an 8-bit
Hexadecimal number available in RAM at 30H into its
equivalent ASCII and store the result in RAM at 40H and 41H.
21 A push button switch is connected with P3.2 pin of 8051 that
normally pull the pin high and when pressed, the level on pin
become low. Write a program that makes an emergency
alarm connected with P1.0 pin ON when the switch is
pressed. The alarm should automatically goes OFF after 30
second.
22 Write a ‘c’ program that generates a square wave of 1 KHz
frequency on P1.0 pin using timer-0 in mode-1. Show timer
count calculation.
23 Write an embedded ‘C’ program that displays a message
“Happy New Year” in line-1 and “2021” in line-2 of LCD
display.
24 Write a program that transmits a message “Happy New Year”
using serial mode-1 at 9600 baudrate. Assume oscillator
frequency =11.0592 MHz. Show timer count calculation for
the specified baudrate.
25 Using interfacing scheme in part-b, write an embedded ‘C’
program that updates and displays real time second and
minute on 4-digit common cathode seven segment display.