Você está na página 1de 10

EE2354-MICROPROCESSORS AND MICROCONTROLLERS

QUESTION BANK
UNIT-I
PART-A
1.

What is the need for ALE signal in 8085 microprocessor?

2.

How many machine cycles are needed to execute STA 1800?

3.

What is the need for interfacing?

4.

Compare memory mapped I/O and peripheral mapped I/O.

5.

State the disadvantages of memory mapped I/O scheme.

6.

What are the requirements to be met while interfacing I/O devices to


Microprocessor / microcontroller?

7.

Define interfacing.

8.

Show the common anode seven segments LED Configuration. How to switch it on
and off?

9.

Differentiate between software and hardware interrupts.

10.

What is interrupt?

11.

Name the vectored and non vectored interrupt of 8085 system.

12.

What do you mean by timing diagram?

13.

Define i) Instruction cycle

14.

Define T-state and In which T-cycle the ALE signal is activated?

15.

What do you mean by masking the interrupt? How it is activated in 8085?

16.

If a 5 MHz crystal is connected with 8085; what is the value of system clock

ii) Machine cycle

frequency and one T state.


17.

What is the function of SIM instruction in 8085?

18.

What is the significance of I/O Ports?

19.

What are the different machine cycles in 8085 Microprocessor?

20.

How performance of a microprocessor is measured in terms of MIPS?

21.

A microprocessor takes n s is for executing as instruction. What design change will


make the microprocessor to execute the same instruction in n/2 s?

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


PART-B
1.

Describe the functional pin diagram of 8085.

(16)

2.

Describe the functional block diagram of 8085.

(16)

3.

Explain the 8085 interrupt system in detail.

(16)

4.

Explain various machine cycles supported by 8085.

(16)

5.

(i)

With suitable examples explain how I/O devices are connected using
memory mapped I/O and peripheral I/O.

(ii)

Design a microprocessor system to interface an 8K 8 EPROM and 8K 8


RAM.

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.

address decoder having NAND gate and inverters

(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)

With necessary diagrams, write short notes on the following


(i)

RAM memory interfacing

(ii)

ROM memory interfacing

(iii)

Interrupt structure of 8085

(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.

write 8085 ALP for displaying digit 8.

(8)

(ii)

Distinguish peripheral mapped I/O and memory mapped I/O technique

(8)

(i)

Write short notes on vectored interrupts of 8085.

(8)

(ii)

Draw the microprocessor Bus timing for the instruction STA 4500h and
Explain.

(8)

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


UNIT-II
PART-A
1.

Show the different instruction formats used in 8085.

2.

What is the type of stack used in 8085?

3.

What are the different addressing modes of 8085?

4.

Define addressing modes. How many addressing modes are available in 8085?

5.

The last executable instruction in a procedure must be .. .

6.

Explain the following instruction:


i) LHLD 8020
ii) XTHL

7.

What do you mean by Looping, Counting and Indexing?

8.

What is the subroutine? How it is useful?

9.

Explain the need of software timers.

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.

Differentiate cascade stack and memory stack?

12.

What is the significance of XCHG and SPHL instructions?

13.

Write the operation carried out when 8085 executes RST0 instruction.

14.

What is stack? And what is the function of stack pointer?

15.

Write the difference between opcode and operand.

16.

Write the stack related instructions in 8085 Microprocessor.

17.

Compute the execution time of instruction LDA 2050h if the T state duration is 2 s.

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


PART-B
1.

Explain the addressing modes of 8085 with example.

(16)

2.

Explain the Different types of instruction in 8085.

(16)

3.

i)

Write a program to arrange n numbers in ascending order.

ii)

Write a program to unpack a two digit BCD number stored at memory


location 1C00H.

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)

Write a program to calculate the factorial of a number between 0 to 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)

Explain the operation of stack in 8085 microprocessor

(8)

(ii)

Explain the sequence of events in the execution of CALL and RET


instructions.

(8)

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


UNIT-III
PART-A
1.

Write down the function of OBF in 8255.

2.

Define PPI.

3.

Bring about the features of 8259.

4.

Explain the advantages of PIC chips in microprocessor based systems.

5.

Explain the working of receiver part of USART.

6.

What is key debouncing?

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.

Draw and explain the operation of a sample and hold circuit.

10.

Name any two type of ADCS.

11.

For a A/D converter circuit why Vref should be stabilized supply.

12.

Which is the fastest ADC and why?

13.

What do you mean by Quantization error?

14.

What is the difference between A/D and D/A converters?

15.

Define the following terms for D/A converters:


i) Resolution
ii) Accuracy
iii) Monotonicity
iv) Conversion time

16.

What is the necessity of the programmable interval timer?

17.

List the features of 8279.

18.

Compare parallel and serial type of data transfer.

19.

Write the BSR control words to set PC0 and to reset PC4 in 8255.

20.

Write the format in which data is transmitted in asynchronous mode by 8251.

21.

What is the maximum number of I/O devices that can be connected to 8085
microprocessor using 8259 ICs?

22.

What is the bit set reset mode of 8255 PPI?

23.

Differentiate cascade stack and Memory Stack?

24.

Calculate the values of LSB, MSB and full scale output for 8 bit DAC for 0 to 10 V
range.

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


PART-B
1.

Explain any one of the modes of 8255 in detail.

(16)

2.

With neat block diagram explain PPI.

(16)

3.

i)

Using model, write a program to communicate between two microprocessors


using 8255.

ii)

(10)

Show the control word format of 8255 and explain how each bit is
programmed.

(6)

4.

With neat block diagram explain the functions of 8259.

(16)

5.

i)

Bring about the features of 8251.

(6)

ii)

Discuss how 8251 is used for serial communication of data.

(6)

iii)

Explain the advantages of using the USART chips in microprocessor


based systems.

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.

Explain the 7 segment LED interface with microprocessor.

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)

on the display system.

(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.

Explain how to convert an analog signal into digital signal.

(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)

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


UNIT-IV
PART-A
1.

What is Microcontroller?

2.

List the features of 8051 microcontroller.

3.

Name any four additional hardware features available in microcontrollers


when compared to microprocessors.

4.

List out the Hardware Resources available in 8051.

5.

When 8051 is reset, all interrupts are disabled. How to enable these interrupts?

6.

What is nested interrupts?

7.

How will you double the baud rate in 8051?

8.

Explain software and hardware methods to start and stop timers in 8051.

9.

Give steps to program 8051 for serial data transfer.

10.

Write short notes on interrupt priority.

11.

Write the vector address and priority sequence of 8051 interrupts?

12.

Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz
crystal frequency.

13.

What is the function of ITX bit in the TCON register of 8051?

14.

What is the function of SM2 bit in the SCON register of 8051?

15.

What are the different addressing modes of Microcontroller 8051?

16.

Name the interrupts available in Microcontroller 8051.

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.

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


PART-B
1.

Describe the architecture of 8051 with neat diagram.

2.

i)

Discuss the peripheral interface of 8051.

ii)

Explain the interrupt structure of 8051 microcontroller Explain how interrupts

3.

4.

(16)
(8)

are prioritized.

(8)

i)

What is the difference between the Microprocessors and Microcontrollers?

(8)

ii)

Explain the I/O port structure of 8051.

(8)

i)

Explain the different serial communication modes in 8051.

(8)

ii)

Explain the memory structure of 8051.

(8)

5.

States various modes available for timer in 8051.

(8)

6.

Explain the functional pin diagram of 8051 Microcontroller.

(8)

7.

(i)

Explain the different addressing modes in 8051 in detail

(8)

(ii)

Describe the different modes of operation of timers in 8051.

(8)

8.

Explain the Timer/Counter functional unit of Microcontroller 8051 with relevant


diagrams.

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.

Explain the different serial communication modes in 8051.

(8)

11.

Write 8051 ALP to transmit Hello World to PC at 9600 baud for external crystal
frequency of 11.0592 MHz.

(8)

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


UNIT-V
PART-A
1.

What is the time taken to execute MUL instruction in 8051?

2.

What is the jump range?

3.

Explain the addressing modes of 8051.

4.

Identify the addressing mode used by each of the following instruction.


i) MOV A, R4
ii) MOVC A, @A+DPTR
iii) SWAP A
iv) MOV A, #30H

5.

Explain PUSH and POP instructions in 8051.

6.

What are the instructions used to access external RAM.

7.

What is key bounce? How it is achieved?

8.

Explain DAA instruction of 8051.

9.

Explain rotate instructions of 8051.

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.

How keyboard debouncing is done by software?

13.

Name any four bit manipulation instructions in Microcontroller 8051.

14.

How can you perform multiplication using 8051 Microcontroller?

15.

Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz crystal
frequency.

16.

Write the vector address and priority sequence of 8051 interrupts?

EE2354-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK


PART-B
1.

With a neat circuit diagram explain how a 4 x 4 keypad is interfaced with


8051 microcontroller and write 8051 ALP for keypad scanning.

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)

Explain addition and subtraction instructions of 8051.

(8)

ii)

Explain various types of jump instructions according to range.

(8)

i)

Write a 8051 ALP to find Fibonacci series of N given numbers.

(8)

ii)

Write a 8051 ALP to find the average of given N numbers.

(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)

XCH A, 30H where L2 and L3 are labels.

(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.

Explain the 4 X 4 Keyboard interfacing with Microcontroller 8051.

(16)

9.

Explain the Microcontroller 8051 based Stepper motor control.

(16)

****************************

Você também pode gostar