Escolar Documentos
Profissional Documentos
Cultura Documentos
QUESTION BANK
UNIT-I
PART-A
1.
2.
3.
4.
5.
6.
7.
Define interfacing.
8.
Show the common anode seven segments LED Configuration. How to switch it on
and off?
9.
10.
What is interrupt?
11.
12.
13.
14.
15.
16.
If a 5 MHz crystal is connected with 8085; what is the value of system clock
18.
19.
20.
21.
(16)
2.
(16)
3.
(16)
4.
(16)
5.
(i)
With suitable examples explain how I/O devices are connected using
memory mapped I/O and peripheral I/O.
(ii)
6.
(6)
Draw timing diagrams for the following instruction with appropriate control and
status signal. Explain in brief. CALL 2000
7.
(10)
(i)
(16)
Interface a 8KX8 EPROM IC and 2KX8 RAM IC with 8085 such that the
starting address assigned to them are 0000H and 4000H respectively using
(ii)
8.
(8)
Draw the timing diagram of I/O read cycle in 8085 and explain it
(8)
Draw and explain the timing diagram of the following instructions of 8085
Microprocessor.
9.
10.
(i)
LDA 2050H
(ii)
RET
(16)
(ii)
(iii)
(i)
Using peripheral mapped I/O, design a seven segment LED output port with
(16)
device address of F2h using necessary control ICs. Draw the schematic and
11.
(8)
(ii)
(8)
(i)
(8)
(ii)
Draw the microprocessor Bus timing for the instruction STA 4500h and
Explain.
(8)
2.
3.
4.
Define addressing modes. How many addressing modes are available in 8085?
5.
6.
7.
8.
9.
10.
If the CALL and RET instructions are not provided in the 8085, could it be
Possible to write subroutines for this microprocessor? If so how will you call
and return from the subroutine?
11.
12.
13.
Write the operation carried out when 8085 executes RST0 instruction.
14.
15.
16.
17.
Compute the execution time of instruction LDA 2050h if the T state duration is 2 s.
(16)
2.
(16)
3.
i)
ii)
4.
i)
ii)
7.
8.
(16)
Explain the BCD to Seven Segment code conversion technique and write
8085 assembly language program for the same.
6.
(8)
Explain the BCD to Decimal code conversion technique and write 8085
assembly language program for the same.
5.
(8)
(16)
(8)
Write a program to find the number of negative, zero and positive numbers. (8)
Explain the operations carried out when 8085 executes the instructions
(i)
MOV A, M
(ii)
XCHG
(iii)
DAD H
(iv)
DAA
(v)
POP PSW
(16)
Write 8085 assembly language program to find the seven segment codes for the lower
and upper nibble of the given 8 bit binary number using look up table technique and
store the result in memory.
9.
Write 8085 Assembly language program to perform the following ab + ac, where a, b
and c are 8 bit binary numbers. Explain with algorithm and flowchart.
10.
(16)
(i)
(16)
Write 8085 ALP to perform 16 bit addition of 2 numbers from location 4100h
and 4102h using 16 bit move and arithmetic instructions and save the result
from the next memory location.
(ii)
11.
(8)
With suitable example explain the various addressing modes used in the
instruction set of 8085 microprocessor.
(8)
(i)
(8)
(ii)
(8)
2.
Define PPI.
3.
4.
5.
6.
7.
How much current is needed to drive an LED? Draw a typical driver circuit for it?
8.
What is the count value needed to program the 8254 to generate a delay of 1 ms?
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
Write the BSR control words to set PC0 and to reset PC4 in 8255.
20.
21.
What is the maximum number of I/O devices that can be connected to 8085
microprocessor using 8259 ICs?
22.
23.
24.
Calculate the values of LSB, MSB and full scale output for 8 bit DAC for 0 to 10 V
range.
(16)
2.
(16)
3.
i)
ii)
(10)
Show the control word format of 8255 and explain how each bit is
programmed.
(6)
4.
(16)
5.
i)
(6)
ii)
(6)
iii)
6.
(4)
Design an interface circuit needed to connect DIP switch as an input device and
display the value of the key pressed using a 7 segment LED display. Using 8085
system, write a program to implement the same.
7.
8.
i)
Explain the advantages of using the keyboard and display controller chips in
microprocessor based system.
ii)
(6)
Write a program using RST 5.5 interrupt to get an input from keyboard and
display it
9.
(16)
(6)
iii)
Use RST 5.5 instead of RST 7.5 and change mask pattern accordingly.
i)
Explain the working of 8254 timer and write a program using it to generate
a square waveform of period 3 msec.
ii)
(4)
(10)
Describe with any one of the mode configurations of 8254 timer in detail (6)
10.
(16)
11.
Interface an 8-bit DAC with 8085 microprocessor using 8255 and write assembly
language programs to generate square wave of 1 KHZ and triangular wave of 100 Hz.
The crystal frequency connected to 8085 is 6 MHz.
12.
13.
(16)
With necessary diagrams explain the interfacing of Analog to Digital converter with
microprocessor 8085.
(16)
Discuss various operating modes of 8253 timer with necessary control words
(16)
What is Microcontroller?
2.
3.
4.
5.
When 8051 is reset, all interrupts are disabled. How to enable these interrupts?
6.
7.
8.
Explain software and hardware methods to start and stop timers in 8051.
9.
10.
11.
12.
Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz
crystal frequency.
13.
14.
15.
16.
17.
Give the PSW setting for making register bank 2 as default register bank in 8051
Microcontroller?
18.
Calculate the reload value of timer 1 for achieving a baud rate of 4800 in 8051 for a
crystal frequency of 11.0592 MHz.
2.
i)
ii)
3.
4.
(16)
(8)
are prioritized.
(8)
i)
(8)
ii)
(8)
i)
(8)
ii)
(8)
5.
(8)
6.
(8)
7.
(i)
(8)
(ii)
(8)
8.
9.
(16)
Write 8051 ALP to read data from port 1 when negative edge triggered at INT0 and
supply the data to port 2 by masking the upper 4 bits.
(8)
10.
(8)
11.
Write 8051 ALP to transmit Hello World to PC at 9600 baud for external crystal
frequency of 11.0592 MHz.
(8)
2.
3.
4.
5.
6.
7.
8.
9.
10.
Give the PSW setting for masking register bank 2 as default register bank in
8051 Microcontroller?
11.
What is the operation carried out when 8051 executes the instruction MOVC A, @A
+ DPTR?
12.
13.
14.
15.
Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz crystal
frequency.
16.
2.
Draw the schematic for interfacing a stepper motor with 8051 microcontroller
and write 8051 ALP for changing speed and direction of motor.
3.
5.
6.
(16)
Draw the schematic for interfacing a servo motor with 8051 microcontroller
and write 8051 ALP for servo motor control.
4.
(16)
(16)
i)
(8)
ii)
(8)
i)
(8)
ii)
(8)
Explain the operations carried out when the following instructions are executed by
8051.
7.
(i)
MOVX @R0,A
(ii)
MOVC A, @A + PC
(iii)
RLC A
(iv)
CJNE A, 50H, L2
(v)
JBC 20H, L3
(vi)
(16)
Interface a 20 x 2 LCD with 8051 micro controller and write assembly language
program to display the following message in it at the middle.
HELLO ! ALL
ARE WELCOME
(16)
8.
(16)
9.
(16)
****************************