0% found this document useful (0 votes)
422 views13 pages

EE8551-Microprocessors and Microcontrollers

The document discusses a question bank for the subject EE8551 - Microprocessors and Microcontrollers. It contains questions grouped under various parts related to the 8085 processor, including its architecture, registers, instruction set, timing diagrams, interfacing and programming. The questions assess different cognitive levels from remember to create.

Uploaded by

PACET EEE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
422 views13 pages

EE8551-Microprocessors and Microcontrollers

The document discusses a question bank for the subject EE8551 - Microprocessors and Microcontrollers. It contains questions grouped under various parts related to the 8085 processor, including its architecture, registers, instruction set, timing diagrams, interfacing and programming. The questions assess different cognitive levels from remember to create.

Uploaded by

PACET EEE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

SRM VALLIAMMAI ENGINEERING COLLEGE

(An Autonomous Institution)


SRM Nagar, Kattankulathur – 603 203

DEPARTMENT OF
ELECTRONICS AND INSTRUMENTATION ENGINEERING

QUESTION BANK

V SEMESTER

EE8551 –MICROPROCESSORS AND MICROCONTROLLERS

Regulation – 2017

Academic Year 2020 – 2021 (ODD)

Prepared by
Mr. K.R.Ganesh, Asst. Prof. (Sr.G)/EIE
Mrs.S.Vanila, Asst. Prof. (Sel.G)/EEE
EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

SRM VALLIAMMAI ENGINEERING COLLEGE


SRM Nagar, Kattankulathur – 603 203.
DEPARTMENT OF EIE
QUESTION BANK

SUBJECT : EE8551 –MICROPROCESSORS AND MICROCONTROLLERS


SEM / YEAR: V / III

UNIT I -8085 PROCESSOR

Hardware Architecture, pinouts – Functional Building Blocks of Processor – Memory organization – I/O ports
and data transfer concepts– Timing Diagram – Interrupts.
PART –A
BT
Q.No Questions CO Competence
Level
1. What are the flags available in 8085 processor? BLT 1 CO1 Remember
2. Explain the function of program counter in 8085 microprocessor. BLT 4 CO1 Analyze
3. State any four pins of 8085 processor which are used to generate CO1
BLT 2 Understand
control and status signals.
4. Explain the following signals of 8085: RST 7.5, READY BLT 4 CO1 Analyze
5. Show the schematic to generate separate read/write control signals CO1
for memory and I/O related signals in 8085. BLT 3 Apply
6. Illustrate the functions of the two status signals S0 and S1 in 8085. BLT 3 CO1 Apply
7. List the registers of 8085 processor. BLT 1 CO1 Remember
8. What is stack and what is the function of stack pointer? BLT 1 CO1 Remember
9. Give two applications of 8085 BLT 2 CO1 Understand
10. Calculate the execution time of an instruction MVI A,82H in 8085 CO1
BLT 3 Apply
runs at 2 MHz.
11. Give the various machine cycles of 8085. BLT 2 CO1 Understand
12. If the memory address of the last location of a 1Kbyte memory chip CO1
is FBFFH, What is the starting address? BLT 6 Create
13. Differentiate I/O mapped I/O and Memory mapped I/O. BLT 4 CO1 Analyze
14. Draw the schematic of latching low-order address bus in 8085 CO1
BLT 2 Understand
microprocessor.

SRM VALLIAMMAI ENGINEERING COLLEGE Page 2


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

15. What are the interrupts available in 8085? BLT 1 CO1 Remember
16. Compare software and hardware interrupts. BLT 5 CO1 Evaluate
17. Mention the use of ALE in 8085 microprocessor. BLT 2 CO1 Understand
18. Define polling. BLT 1 CO1 Remember
19. What is meant by level triggered input? Which of the interrupts in CO1
BLT 1 Remember
8085 are level triggered?
20. CO1
What is the function of HOLD and HLDA in 8085 microprocessor? BLT 5 Evaluate
PART –B
1. Draw the pin configuration of 8085 and explain the purpose of each CO4
signal.(13) BLT 1 Remember
2. Deduce the functional description of 8085 Microprocessor with neat CO4
BLT 5 Evaluate
diagram.(13)
3. Describe the features in the hardware architecture of 8085
microprocessor with a neat diagram. Explain the function of the BLT 1 Remember
various registers available in it.(13) CO4
4. (i) Explain the function of the various interrupts available with
8085 microprocessor.(7)
BLT 4 CO1 Analyze
(ii) Explain with timing diagrams, the Opcode fetch machine cycle
of 8085 microprocessor.(6)
5. (i) Describe in detail about memory interfacing using 8085.(7) CO1
BLT 1 Remember
(ii) Draw and explain the flag register of 8085 in brief.(6)
6. (i) Draw the timing diagram for memory read cycle and
explain.(7) BLT 4 Analyze
(ii) Draw and explain the timing diagram for MVIA,32H.(6) CO1
7. (i) Illustrate the execution of instruction CALL 4322H with timing
diagram. Assume the relevant details.(7) BLT 3 CO1 Apply
(ii) Illustrate about the bus structure of 8085 processor.(6)
8. Explain with suitable example that how an input and output device is
interfaced with 8085 Microprocessor using 3 to 8 decoder.(13) BLT 6 CO1 Create
9. Discuss with flow diagram how an instruction is fetched and
executed in an 8085 processor.(13) BLT 2 CO1 Understand
10. (i) Discuss in detail about the I/O read and write operation of 8085
processor with timing diagram.(7) CO1
BLT 2 Understand
(ii) Discuss briefly the input and output interfacing techniques used
in 8085 microprocessor.(6)
11. Explain an 8085 interrupt process and mention the difference CO1
between a maskable and a non maskable interrupts.(13) BLT 2 Understand
12. (i) Draw and explain the timing diagram for SHLD 16-bit
address.(6) CO1
BLT 4 Analyze
(ii) Explain the interpretation of the accumulator bit pattern for
SIM and RIM instruction.(7)
13. (i) What are the data transfer mechanisms supported by 8085
processor?(7) BLT 1 CO1 Remember

SRM VALLIAMMAI ENGINEERING COLLEGE Page 3


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

(ii) Write short notes on RST (RESTART) instructions. (6)


14. (i) How many flags are there in flag Register? Examine the
significance of each.(5)
(ii) Two machine codes 3EH and 32H are stored in memory
locations 2000H and 2001H respectively. The first machine BLT 3 Apply
code 3EH represents the opcode to load a data byte in the CO1
accumulator and the second code 32H represents the data byte
to be loaded in the accumulator. Illustrate and explain the bus
timings of 8085 as these machine codes are executed.(8)
PART-C
1. The instruction code 0100 1111(4FH) is stored in memory location
2005H. Illustrate the data flow and explain the sequence of events BLT 5 CO5 Evaluate
when the instruction code is fetched by the MPU.(15)
2. Design a memory interfacing circuit to interconnect 1Kb (1024*8)
RAM to 8085 Microprocessor with the address range of 0000H to BLT 6 CO5 Create
03FFH.(15)
3. Differentiate between the following instructions clearly
(i)Push and POP (5×2=10)
(ii)CALL and Jump
(iii)ADD and ADC BLT 6 CO5 Create
(iv)INC and INX
(v)MOVB,B and MOVB,A
(vi)What is the general format of an 8085 instruction set? (5)
4. Explain the timing diagram of STA 526AH.(15) BLT 5 CO5 Evaluate
UNIT II-PROGRAMMING OF 8085 PROCESSOR
Instruction -format and addressing modes – Assembly language format – Data transfer, data manipulation&
control instructions – Programming: Loop structure with counting & Indexing Look up tability - Subroutine
instructions - stack.
BT CO
Q.No Questions Competence
Level
1. CO1
State the addressing mode of the SHLD instruction and how it works. BLT 1 Remember
2. If the clock frequency is 5 MHz, Evaluate the time required to CO5
BLT 5 Evaluate
execute an instruction having 18 T-states
3. List the different machine control instructions used in 8085 CO5
BLT 1 Remember
microprocessor.
4. What is wait state? When the 8085 processor will enter the wait CO5
BLT 1 Remember
state?
5. If the 8085 adds 87H and 79H, specify the contents of the CO5
BLT 3 Apply
accumulator and the status of S, Z and CY flag?
6. Point out the similarity and difference between compare and subtract CO5
BLT 4 Analyze
instructions.
7. State the purpose and importance of NOP instruction. BLT 1 CO5 Remember

SRM VALLIAMMAI ENGINEERING COLLEGE Page 4


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

8. Illustrate the function of 8085 instruction: CPI and RRC. BLT 3 CO5 Apply
9. Differentiate CALL and JUMP instruction. BLT 4 CO2 Analyze
10. CO5
Develop an ALP to add 5 data bytes stored in memory locations
BLT 6 Create
starting at 4500H and display the sum in next memory location.
11. Develop an assembly level program in 8085 to check whether the CO5
BLT 6 Create
content of accumulator is even or odd
12. What is meant by look up table? BLT 1 CO2 Remember
13. Discuss how time delay is generated using subroutines? BLT 2 CO5 Understand
14. State any four data transfer instructions and their function. BLT 1 CO5 Remember
15. What is subroutine? Mention the instructions related to subroutine in CO2
BLT 2 Understand
8085 microprocessor.
16. Explain the function of stack. BLT 4 CO2 Analyze
17. Differentiate cascade stack and memory stack. BLT 2 CO2 Understand
18. Explain any two stack related instructions in 8085 microprocessor. BLT 5 CO2 Evaluate
19. CO5
Examine the purpose of the I/O instructions IN and OUT. BLT 3 Apply
20. EDescribe the operation carried out when 8085 executes RST0 CO5
rinstruction. BLT 2 Understand
PART-B
1. (i) Explain the various addressing modes of 8085 microprocessor
with example.(8) BLT 1 CO1 Remember
(ii) Explain the Compare instructions of 8085 microprocessor.(5)
2. Explain the operations carried out when 8085 executes the
instruction.(13) BLT 4 CO5 Analyze
(i) MOV A, M (ii) XCHG (iii) DAD B (iv) DAA.
3. (i) Describe with suitable examples the data transfer and control
instructions in 8085 microprocessor.(7) CO1
(ii) Describe the categories of instructions used for data BLT 2 Understand
manipulation in 8085 Microprocessor.(6)
4. (i) Write short notes on branching operations available in 8085.(7)
CO2
BLT 4 Analyze
(ii) Compare the similarities and differences of CALL and RET
instructions with PUSH and POP instructions.(6)
5. Define addressing mode .Identify the addressing mode of the
following instructions and explain them.(13)
(i)STA 6350H
(ii)CMA BLT 4 CO5 Analyze
(iii)MOV A,M
(iv)MOV D,E
(v)MVI A,A7H
6. (i) Illustrate a program with a flowchart to multiply two 8-bit CO5
BLT 3 Apply
numbers.(7)

SRM VALLIAMMAI ENGINEERING COLLEGE Page 5


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

(ii) Illustrate an 8085 ALP to count continuously in hexadecimal CO5


from FFH to 00H in a system with a 0.5 µs clock period. Use
register C to set up 1ms delay between each count and display
the numbers.(6)
7. (i) Develop a program to obtain 1’s complement of 16-bit number
stored at location FC15(H) and FC16(H).Store the result at
location FC17 (H) and FC18 (H).MSB should be in location
FC16(H) and FC18(H). (7)
BLT 6 CO5 Create
(ii) Develop an ALP to load the hexadecimal numbers 9BH and
A7H in registers D and E respectively and add the numbers. If
the sum is greater than FFH display 01H at output port 00H;
Otherwise display the sum.(6)
8. (i) Explain the various arithmetic instructions of 8085 with CO5
BLT 2 Understand
illustrative examples?.(6)
(ii) Write an ALP for 8085 microprocessor to add data stored in
memory from 4200H.The first element in the location 4200H
gives the number of elements in the array. Store the result of BLT 5 CO5 Evaluate
the addition in 4300H and 4301H.Assume the sum does not
exceed 16 bits. (7)
9. Write a program to transfer 50 bytes of data from memory location
starting from 2000H to 3000H using the memory pointer concept BLT 1 CO5 Remember
in 8085 Microprocessor.(13)
10. (i) Assume the SP register contains 2099H, register B contains
32Hand register C contains 57H. Write the instructions to save
the contents of the BC register pair on the stack and specify the CO5
BLT 2 Remember
register contents (SP, B and C) after execution.(7)
(ii) Find the two’s complement of a 16 bit data with example.(6)
11. (i) Write an ALP using 8085 instructions to implement a
hexadecimal to 7-segment decoder using look-up table
method.(7) BLT 1 CO5 Understand
(ii) Write the 8085 ALP for modulo 10 counter with flowchart.(6)
12. Develop an algorithm and 8085 assembly language program to sort
100 byte type data. Explain the instructions used in the program. (13) BLT 3 CO5 Apply

13. Describe what is meant by counting, looping and indexing.(13) BLT 1 CO2 Remember
14. (i) Explain briefly about subroutine with example.(7) CO2
BLT 5 Evaluate
(ii) Summarize the operation of stack with suitable example. (6) CO2
PART C
1. Develop an assembly language program based on 8085 CO5
microprocessor instruction set to search the smallest data in a set.(15) BLT 6 Create

2. (i) Develop an 8085 assembly language program to sort numbers CO5


BLT 6 Create
in ascending order.(8)

SRM VALLIAMMAI ENGINEERING COLLEGE Page 6


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

(ii) Evaluate the contents of registers A,B, C and D and the flag
status ie (S,Z and CY) as the following instructions are
executed.
MVI A,00H
MVI B, F8H BLT 5 CO1 Evaluate
MOV C,A
MOV D,B
HLT (7)
3. Justify and explain in detail, If the program counter is always one
count ahead of the memory location from which the machine code is
being fetched, how does the microprocessor change the sequence of BLT 5 CO5 Evaluate
program execution with a Jump instruction?(15)
4. Develop a program using the ADI instruction to add two
hexadecimal numbers 3AH and 48H and to display the answer at an CO5
BLT 6 Create
output port.(15)

UNIT III -8051 MICRO CONTROLLER


Hardware Architecture, pinouts – Functional Building Blocks of Processor – Memory organization – I/O ports
and data transfer concepts– Timing Diagram – Interrupts- Data Transfer, Manipulation, Control
Algorithms& I/O instructions, Comparison to Programming concepts with 8085.
PART – A
BT CO
Q. No Questions Competence
Level
1. What are the addressing modes of 8051 microcontroller? BLT 1 CO1 Remember
2. Write the purpose of PSEN and EA pin in 8051. BLT 6 CO4 Create
3. Explain how multiplication is performed in 8085 and 8051? BLT 4 CO5 Analyze
4. Draw the program memory organization in 8051. BLT 2 CO4 Understand
5. What are the main features of 8051 microcontroller? BLT 1 CO4 Remember
6. How does 8051 differentiate between the external and internal CO4
BLT 4 Analyze
program memory.
7. Compare microprocessor and microcontroller. BLT 4 CO4 Analyze
8. List the interrupts of 8051 microcontroller. BLT 1 CO2 Remember
9. Write the vector address and priority sequence of 8051 interrupts. BLT 6 CO2 Create
10. Examine, how the microcontrollers respond to any interrupt request? BLT 3 CO2 Apply
11. Illustrate the function of Program Status Word in microcontrollers. BLT 3 CO4 Apply
12. What is meant by SFR in 8051? List any four special function CO4
BLT 1 Remember
register.
13. List the on-chip peripherals of 8051 microcontroller. BLT 1 CO4 Remember
14. Summarize the functions of TMOD register in 8051 microcontroller. BLT 5 CO4 Evaluate
15. Distinguish between MOV and MOVX instructions. BLT 2 CO5 Understand
16. What do you understand by bit oriented instructions? BLT 2 CO5 Understand
17. What are I/O instructions in 8051 microcontroller? BLT 1 CO5 Remember
18. Explain the function of DJNZ instruction. BLT 5 CO5 Evaluate
19. Mention any four data transfer instructions of 8051 microcontroller. BLT 3 CO5 Apply

SRM VALLIAMMAI ENGINEERING COLLEGE Page 7


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

20. Distinguish between the functions of the instructions XCHG and CO5
BLT 2 Understand
SWAP of 8051.
PART B
1. Describe with a neat block diagram the architecture of 8051 CO4
microcontroller.(13) BLT 1 Remember
2. (i) What are the functional blocks available in 8051? Explain with CO4
a block diagram.(7) BLT 1 Remember
(ii) Describe the operation of stack in 8051.(6) CO4
3. Draw and explain the pinouts of 8051 microcontroller. (13) BLT 3 CO4 Apply
4. Discuss in detail about the memory organization of 8051 CO4
BLT 2 Remember
microcontroller and explain.(13)
5. Design an 8051 based system with 16 K bytes of program ROM and CO4
BLT 6 Create
16 K bytes of data ROM.(13)
6. Explain the I/O ports and their functions of 8051 CO4
microcontroller.(13) BLT 4 Analyze
7. (i) Describe about the interrupt structure of 8051 microcontroller. CO2
(7) BLT 1 Understand
(ii) Describe about the RAM structure of 8051 microcontroller. (6) CO4
8. Explain different timer/counter modes of8051microcontroller. (13) BLT 4 CO4 Analyze
9. Discuss in detail, the hardware and software support provided by CO4
8051 for serial communication. (13) BLT 2 Understand
10. Discuss the addressing modes of 8051 microcontroller with suitable CO1
examples. (13) BLT 2 Understand
11. (i) Illustrate about vectored interrupts in 8051 microcontroller. (7) CO2
(ii) Illustrate with block diagram how to access external memory BLT 3 CO4 Apply
devices in an 8051 based system.(6)
12. (i) Explain the various bit manipulation instructions in 8051 with
examples. (7)
(ii) Explain the following instructions of 8051 micro-controller :
BLT 1 CO5 Remember
(3*2=6)
1. DJNZ Ro, HERE
2. CJNZ @ Ri, #data, rel
3. SWAP A
13. (i)Explain the various program branching instructions available
with 8051 microcontroller. (7) CO5
BLT 1 Remember
(ii) Draw the data memory structure of 8051 microcontroller and
explain. (6)
14. Explain the programming concepts of 8051 in comparison with 8085. CO5
BLT 5 Evaluate
(13)
PART C
1. Describe the timing diagram of external data memory read cycle of CO5
BLT 4 Analyze
8051. (15)

SRM VALLIAMMAI ENGINEERING COLLEGE Page 8


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

2. Explain the different types of instructions set used in 8051


microcontroller. (15) BLT 4 CO1 Analyze

3. Explain about the importance of the Program Counter, data pointer,


BLT 5 CO2 Evaluate
Program Status word, Special Function Registers in 8051. (15)
4. (i)What is the value of register A after each of the following
instructions? MOV A,#26H
RR A
RR A
RR A BLT 5 CO5 Evaluate
RR A
SWAP A (8)
(ii)Write a delay program using 8051 instructions.(7)
UNIT IV -PERIPHERAL INTERFACING
Study on need, Architecture, configuration and interfacing, with ICs: 8255 , 8259 , 8254, 8279 ,- A/D and D/A
converters &Interfacing with 8085& 8051
PART – A
BT CO
Q. No Questions Competence
Level
1. What are different peripheral interfacing used with 8085 CO3
microprocessor? BLT 1 Remember
2. What is meant by A/D converter? BLT 1 CO3 Remember
3. Find the control word of 8255 if port A is configured as input and CO3
port B is configured as output in mode 0. BLT 3 Apply
4. Give the ports placed in group a and group b of 8255 BLT 2 CO3 Understand
5. Explain how data is transmitted in asynchronous serial CO3
communication. BLT 5 Evaluate
6. What are the steps in interfacing peripherals with the CO3
BLT 1 Remember
microprocessor?
7. What is the need for 8259 PIC? BLT 1 CO3 Remember
8. Illustrate the salient features of Intel 8259 PIC. BLT 3 CO3 Apply
9. Mention the use of ISR and PR registers in 8259 PIC. BLT 3 CO3 Apply
10. Point out the operating modes in 8254 timer/Counter. BLT 4 CO3 Analyze
11. Define the Strobed I/O mode of 8255 Programmable peripheral CO3
interface. BLT 1 Remember
12. Give the operation modes of 8255. BLT 2 CO3 Understand
13. Explain what is meant by key debouncing? BLT 5 CO3 Evaluate
14. Differentiate between two key lockout and N-key rollover modes in CO3
8279. BLT 4 Analyze
15. Define peripherals BLT 2 CO3 Understand
16. Draw the 3-bit digital to analog converter block and plot its analog CO3
BLT 2 Understand
output.
17. Mention the categories of Digital to Analog converters. BLT 4 CO3 Analyze

SRM VALLIAMMAI ENGINEERING COLLEGE Page 9


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

18. What is handshaking? And what are handshake signals? BLT 1 CO3 Remember
19. How a keyboard matrix is formed in keyboard interface using 8279? BLT 6 CO3 Create
20. Explain how wait states can be introduced in the machine cycle CO3
BLT 5 Evaluate
using READY signal to interface slow memory devices?
PART B
1. Explain how the 8255A programmable peripheral interface chip can CO3
be used with the 8085 and 8051 for reading and writing parallel data BLT 5 Evaluate
from and to I/O devices.(13)
2. Explain the architecture, functions and registers of the 8255 BLT 4 CO3
Analyze
PPI.(13)
3. Explain the internal architecture and programming of 8259 CO3
BLT 5 Evaluate
Programmable Interrupt Controller.(13)
4. Discuss how a PIC, 8259 is interfaced to an 8085 and 8051
(i) CO3
based system. (7) BLT 2 Understand
(ii) How does 8259 service an interrupt? (6)
5. Discuss the various modes of operation of the programmable CO3
BLT 2 Understand
interval timer, 8254.(13)
6. (i) Illustrate briefly the block diagram of 8254 timer.(7) BLT 3 CO3 Apply
Describe the working of successive approximation type A/D CO3
(ii) BLT 1
converter.(6) Remember
7. Explain an application of 8255 in the handshake mode with the CO3
BLT 1 Remember
assembly program.(13)
8. With a neat diagram Discuss briefly about the internal architecture CO3
BLT 2 Understand
and registers of 8279 keyboard/ display controller. (13)
9. Explain about the interfacing of an 8 bit A/D converter using CO3
(i)Status check method BLT 1 Remember
(ii)Interrupt method with neat diagram. (13)
10. Explain with neat sketch, the A/D converter interfacing with CO3
(i)
8085 microprocessor.(7)
With sample program explain the interfacing of D/A converter BLT 4 CO3 Analyze
(ii) with 8085 microprocessor. (6)

11. Write the program and Illustrate the operation of 8255 PPI CO3
(i) Port A programmed as input and output in mode 1 with
necessary handshaking signals .(7) BLT 6 Create
Illustrate in detail about parallel communication interface with CO3
(ii) microprocessor and microcontroller.(6)
12. Describe with neat sketch, the A/D converter interfacing with CO3
(i) 8051.(7)
BLT 1 Remember
Explain the interfacing of D/A converter with 8051 CO3
(ii)
microcontroller with neat diagram. (6)
13. (i) Vin=2.25 V, Vref=5V, Number of data lines are 5. Convert CO3
the given analog quantity into its equivalent output digital BLT 1 Remember
quantity.(7)

SRM VALLIAMMAI ENGINEERING COLLEGE Page 10


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

(ii) Write a program to generate the square, triangular and CO3


trapezoidal waveforms using 8051 microcontroller.(6)
14. Demonstrate how a matrix key board is interfaced with
microprocessor using programmable peripheral interface. BLT 3 CO3 Apply
(13)
PART C
1. Interface an 8 bit ADC with 8085 microprocessor and write the
algorithm and assembly language program to get 500 digital
equivalent data of analog samples taken at every one millisecond BLT 5 CO3 Evaluate
and store them in memory. Make suitable assumptions.
(15)
2. Design a system using 8085 or 8051 to blink four LEDs(15) BLT 6 CO3 Create
3. Design an interface circuit and explain how programmable timer is CO3
interfaced with 8085. (15) BLT 6 Create

4. Interface an 8x8 keyboard using 8255 ports and write a program to CO3
BLT 5 Evaluate
read the code of a pressed key. (15)

UNIT – V MICRO CONTROLLER PROGRAMMING & APPLICATIONS

Simple programming exercises- key board and display interface –Control of servo motor stepper
motor control- Application to automation systems.
PART – A
BT CO
Q. No Questions Competence
Level
1. How is pulse generated from microcontroller for stepper CO6
BLT 5 Evaluate
motor control?
2. State any four applications of microcontroller. BLT 1 CO6 Remember
3. Write an ALP to receive input from port P1.5 and if it is high CO6
BLT 6 Create
then an output 35H is sent to port 0.
4. List the instructions that always clear the carry flag. BLT 1 CO6 Remember
5. LED is connected to pin P0.7, Write an assembly program to CO6
BLT 6 Create
toggle the LED forever.
6. How would you explain the different operand types used in CO6
BLT 1 Remember
8051?
7. Mention the sequence of operation performed by 8051 upon CO6
BLT 3 Apply
execution of CJNE instruction.
8. Deduce the control signals from 8051 microcontroller CO6
BLT 5 Evaluate
required for washing machine control.
9. What is the advantage of data pointer register? BLT 1 CO6 Remember
10. State how to save the status of P2.7 in RAM bit location 31? BLT 4 CO6 Analyze
11. What is baud rate? BLT 1 CO6 Remember
12. Show a block diagram of a closed loop system for the speed CO6
BLT 3 Apply
control of a servo motor.
13. What is multiplexed display? Point out its advantage? BLT 4 CO6 Analyze

SRM VALLIAMMAI ENGINEERING COLLEGE Page 11


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

14. Discuss about read-modify-write. BLT 2 CO6 Understand


15. Point out the need for driver in between the microcontroller CO6
BLT 4 Analyze
and the stepper motor?
16. Show how to drive a solenoid or a motor winding from the CO6
BLT 3 Apply
output port pin of a microcontroller?
17. In a microcontroller based system on-chip ROM, why does CO6
BLT 2 Understand
the size of the ROM matter?
18. Discuss what happens in power down mode of a CO6
BLT 2 Understand
microcontroller?
19. Give the advantage of closed loop control system for CO6
BLT 2 Understand
interfacing?
20. What is duty cycle in PWM? BLT 1 CO6 Remember
PART –B
1. (i) Write an ALP in 8051 to convert a 16 bit binary number CO6
BLT 5 Evaluate
to ASCII. (6)
(ii) Develop an 8051 program to monitor P1 continuously CO6
the value 63H. It should get out of the monitoring only BLT 6 Create
if P1=63H. (7)
2. Explain with neat diagram the closed loop control of servo CO6
BLT 4 Analyze
motor using microcontroller.(13)
3. Design the microcontroller based system to control the water CO6
BLT 6 Create
level in the tank. (13)
4. (i) Write an assembly language program Using 8051
instructions to add an array of unsigned binary numbers
BLT 5 CO6 Evaluate
available in RAM location 50 to 5F and store the result
at locations 70 and 71. (7)
(ii) Write an assembly language program for 8051
microcontroller to divide the 8- bit number stored in
memory location 2400H by the the 8- bit number stored BLT 5 CO6 Evaluate
in memory location 2401H. Store the quotient in 2402H
and the remainder in 2403H. (6)
5. Develop a 8051 ALP to evaluate an arithmetic expression (A-
B) x C where A, B, C are 8-bit data in internal memory.
BLT 6 CO6 Create
Assume A>B and store the result in external memory. Explain
the program developed. (13)
6. Analyze the operations carried out when the following
instructions are executed by 8051.
(i) MOVX @ R 0 , A
(ii) MOVC A, @A+PC
(iii)RLC A BLT 4 CO6 Analyze
(iv) CJNE A,50 H,L2
(v) JBC 20H, L3
(vi) XCH A,30H
where,L2 and L3 are labels. (13)
7. (i) Demonstrate with a neat diagram, a 4x4 keyboard
interfacing with 8051 microcontroller. (8)
BLT 3 CO6 Apply
(ii) Explain the various bit manipulation instructions in
8051 microcontroller. (5)

SRM VALLIAMMAI ENGINEERING COLLEGE Page 12


EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020

8. Write a program to add two 16 bit numbers. The


(i) numbers are 8C8D and 8D8C.Place the sum in R7 and
R6. R6 should have the lower byte. (8) BLT 5 CO6 Evaluate
Explain the various program branching instructions
(ii)
available with 8051 microcontroller(5)
9. (i) Develop an ALP to generate a square wave of 50% duty
cycle on bit 0 of port 1 of 8051 microcontroller and CO6
BLT 1 Remember
explain. (7)
(ii) Explain the various arithmetic instructions of 8051.(6)
10. Draw the diagram to interface a servo motor with 8051
microcontroller and explain. Also write an 8051 ALP to run BLT 1 CO6 Remember
the servo motor in forward direction with delay. (13)
11. Explain the stepper motor control using 8051 and write an
assembly language program for running the stepper motor in BLT 5 CO6 Evaluate
clockwise direction. (13)
12. Describe the control system design of washing machine using
BLT 2 Understand
8051 microcontroller programming. (13) CO6
13. Discuss how to program and interface LCD to an 8051.(13) BLT 2 CO6 Understand
14. Explain, with necessary diagrams, how a 4-Winding stepper
motor can be interfaced and rotated in steps. Assume normal CO6
BLT 3 Apply
4-step sequence data as 09H, OCH, 06H and 03H,
respectively. (13)
PART – C
1. Illustrate the keyboard and display interface with 8051 and
write the program to get the input 45H from the external BLT 6 CO6 Create
keyboard and display it on the external display device. (15)
2. With a neat diagram and explain how stepper motor can be
interfaced with 8051 microcontroller. Give both program and BLT 4 CO6 Analyze
the interfacing circuit. (15)
3. A switch (SW) is connected to pin P2.7. Write a ALP to
monitor the status of SW and perform the following. (15) BLT 5 CO6
Evaluate
If SW = 0, the stepper motor moves clockwise
If SW = 1, the stepper motor moves counter clockwise.
4. Assume that P1 is an input port connected to a temperature
sensor. Write a program to read the temperature and test it for
the value 75.According to the test results, place the
temperature value into the registers indicated by the CO6
BLT 5 Evaluate
following: (15)
If T=75 then A=75
If T<75 then R1=T
If T>75 then R2=T

SRM VALLIAMMAI ENGINEERING COLLEGE Page 13

You might also like