22CS4202 MPMC Question Bank
22CS4202 MPMC Question Bank
Technology
(An Autonomous Institution, Affiliated to Anna University, Chennai)
Valley Campus, Pollachi Highway, Coimbatore – 641032
OFFICE OF CONTROLLER OF EXAMINATION
QUESTION BANK AY- 2024 – 25 (EVEN SEMESTER)
B.E., COMPUTER SCIENCE AND ENGINEERING
YEAR: II SEM: 04
COURSE CODE AND NAME: 22CS4202- MICROPROCESSORS AND MICROCONTROLLERS
Name of the course handling faculty members: Dr. S Kousalya Devi, Ms.M.Amuthavalli
Syllabus
8085 MICROPROCESSOR
Unit-I Introduction to 8085 – Microprocessor architecture – Addressing modes - Instruction set – Assembly
language programming.
PART A (2 Marks)
Marks BTL COs
1 Define the term Microprocessor. 2 R CO1
2 How the data and address lines are de-multiplexed in 8085? 2 U CO1
What is the purpose of the Program Counter (PC) in the 8085 CO1
3 2 R
microprocessor?
4 Write a simple 8085 program to find 1’s compliment of a number. 2 U CO1
5 What is ALE? 2 R CO1
Select a memory chip of size 4 kilobytes (4 x 1024 x 8 bits), how many
6 2 U CO1
wires does the address bus need.
7 Brief the function of the Accumulator in the 8085 microprocessor. 2 U CO1
Define addressing mode and list any two addressing modes used in the 8085 R CO1
8 2
microprocessor.
What is the role of the ALU (Arithmetic Logic Unit) in the 8085 R CO1
9 2
microprocessor?
10 Describe the function of the HL register pair in the 8085 microprocessor. 2 U CO1
11 What is an opcode? Provide an example from the 8085 instruction set. 2 R CO1
12 What is the significance of the RESET signal in the 8085 microprocessor? 2 R CO1
Explain the difference between a CALL and a JUMP instruction in the U CO1
13 2
8085.
What is the function of the IN and OUT instructions in the 8085 R CO1
14 2
microprocessor?
List the five flags available in the 8085 microprocessor and briefly explain CO1
15 2 R
the purpose of any one.
16 What is the purpose of the stack pointer (SP) in the 8085 microprocessor? 2 R CO1
Explain the function of the SIM and RIM instructions in the 8085 U CO1
17 2
microprocessor.
How does the 8085 microprocessor differentiate between different types of U CO1
18 interrupts? 2
PART B(14 Marks)
Marks COs
BTL
1. With a neat sketch, explain the architecture of 8085 Microprocessor. 14 R CO1
1
Explain the 8085 microprocessor's instruction set in detail / Write in detail
2. the Data Transfer, Arithmetic, Logical, branching and Machine control 14 R CO1
Instructions in 8085 processor
Discuss the different addressing modes of the 8085 microprocessor with
3. 14 U CO1
suitable examples.
Draw the signal flow diagram and explain the functionality of pins under
4. 8085 processor / With a neat signal flow diagram, explain the pins of 8085 14 U CO1
Processor.
Write Assembly Language Programs to perform Addition and
Multiplication of two 8 bit numbers, where the data Location starts with
5. 14 AP CO1
5200H and result location starts with 5250H
Syllabus
8086 MICROPROCESSOR
Unit-II
Introduction to 8086 – Microprocessor architecture – Addressing modes - Instruction set –
Assembly language programming – Modular Programming - Interrupts and interrupt service
routines.
PART A (2 Marks)
1 List the registers of 8086 microprocessor. 2 R CO2
2 What is meant by pipelined architecture? 2 R CO2
3 Describe the functions of bus interface unit. 2 R CO2
Illustrate the features of Intel 8086. 2
U CO2
4
State the functions of EU. 2
R CO2
5
2
Name few advanced processors and mention any advantages of the 2
U CO2
10
same.
11 How shall you prove 8086 is a 16 bit processor? 2 R CO2
12 List the addressing modes of 8086 microprocessor. 2 U CO2
13 Differentiate the conditional and unconditional branching. 2 U CO2
14 List the segment registers used in 8086 processor. 2 R CO2
15 Brief about string addressing with any two-sample instructions. 2 U CO2
Write the similarity and difference between subtract and compare R CO2
16 2
instructions.
17 List the 1/O instructions in 8086. 2 U CO2
18 Write the 8086 direct addressing mode with an example 2 R CO2
19 Write a simple 8086 ALP using direct addressing mode. 2 R CO2
20 Write about the different types of interrupts supported in 8086. 2 R CO2
21 Compare procedure and macro. 2 R CO2
22 State the flags of 8086 microprocessor. 2 U CO2
Calculate the physical address of 8086 microprocessor if CS U CO2
23 2
content is 1234 and IP content is 5678.
R CO2
24 What are the advantages of modular programming? 2
PART B(14 Marks) BTL
Marks COs
With neat sketch explain the architecture details of 8086
1. Microprocessor 14 U CO2
3.
Explain the 8086 addressing modes with example. 14 A CO2
Explain the addressing modes of 8086 microprocessor and give
4. examples. 14 A CO2
6.
Discuss the instruction set of 8086 microprocessor with examples 14 U CO2
Explain in detail about arithmetic, data transfer and string group of
7. 8086 instructions with an example. 14 U CO2
3
With 8086 processor, a. Recall the register organization of 8086 7
processor in detail. b. Reproduce the role of the following.
10. [1] Address Conversion Mechanism 7 R CO2
[2] Instruction Queue.
Syllabus
8086 SYSTEM BUS STRUCTURE
Unit- 8086 signals – Basic configurations – System bus timing –System design using 8086 – Introduction to
III Multiprogramming – Multiprocessor configurations – Coprocessor, Closely coupled and loosely Coupled
configurations.
PART A (2 Marks)
Marks BTL COs
1 Write the functions of clock generators. 2 U CO3
2 What is the function of BHE signal in 8086? 2 R CO3
3 What is multiprocessor configuration? 2 R CO3
Write about advanced processors and how do they differ from 2 CO3
4 R
traditional processors in terms of performance?
5 What is multiprogramming and how does it improve system efficiency? 2 R CO3
6 What is the role of a system bus in a computer system? 2 R CO3
7 Write the need for tristate logic in microprocessor system. 2 U CO3
8 State the mode in which 8086 can operate. 2 R CO3
9 What is meant by bus cycle? 2 R CO3
10 Why address bus is unidirectional? 2 R CO3
11 List the advantages of coprocessors. 2 R CO3
12 Illustrate loosely coupled configurations. 2 R CO3
13 What is floating point co-processor? 2 R CO3
State the function of HOLD and HLDA. 2 R CO3
14
4
Name the signals used by the processor to communicate with an I/O R CO3
18 2
processor.
Identify the signals used for minimum mode configuration of 8086 U CO3
19 2
microprocessor.
Predict the signals used for maximum mode configuration of 8086 U CO3
20 2
microprocessor.
21 List the 8086 bus standards. 2 R CO3
22 State the I/O programming features of 8086 microprocessor. 2 R CO3
23 What are the functional parts of 8086 CPU? 2 U CO3
What are the pins that are used to indicate the type of transfer in R CO3
24 minimum mode? 2
PART B(14 Marks) Marks BTL COs
1. With the pin diagram, explain the pins of 8086 Microprocessor. 14 A CO3
2. Explain how a co-processor works and interacts with 8086? 14 U CO3
Discuss about multiprocessor configurations. Describe the key CO3
3. characteristics of closely coupled and loosely coupled multiprocessor 14 A
systems.
Write the details of multiprocessor configurations. Describe the key 14 CO3
4. characteristics of closely coupled and loosely coupled multiprocessor U
systems.
Explain the basic bus access control and arbitration schemes used in 14 CO3
5. A
multiprocessor systems.
6. Discuss the maximum mode configuration of 8086 with neat diagram. 14 A CO3
7. Describe the minimum mode configuration of 8086 with neat diagram. 14 A CO3
Tell the significance of the following signals : HOLD, IO/M, LOCK, 14 CO3
8. A
HLDA, RQ/GTO, DEN, BHE
Draw and explain the timing diagram of Read and Write machine cycles 14 CO3
9. U
in Minimum mode 8086 processor
Sketch and explain read and write cycle timing diagram for maximum 14 CO3
10. U
mode configuration of 8086 microprocessor.
PART C( 10 Marks) Marks BTL COs
1. Explain the system bus structure with neat diagram. 10 A CO3
Sketch and explain read and write cycle timing diagram for maximum CO3
2. 10 A
mode configuration of 8086 microprocessor.
Brief the details of nine flags in 8086 and discover the details of the flag CO3
3. 10 Ap
bits with the relevant diagram.
Brief the minimum and maximum mode signals of 8086 CO3
4. 10 A
microprocessor.
5. Justify the need of coprocessors in an 8086 based system. 10 E CO3
Apply multiprogramming concept in system and write the types of CO3
6. 10 Ap
multiprogramming.
Syllabus
5
I/O INTERFACING
Unit-IV Parallel communication interface – Serial communication interface – D/A and A/D Interface – Timer
Interface – Keyboard /display controller – Interrupt controller – DMA controller.
PART A (2 Marks)
Marks BTL COs
1 Name the modes of 8254 timer. 2 U CO4
2 State the applications of 8254 timer. 2 R CO4
Write the requirements to be met while interfacing memory or I/O U
3 devices to 8086 2 CO4
Processor.
4 Identify the modes of operation of 8257. 2 R CO4
5 State any two applications that uses ADC. 2 U CO4
6 Write any two applications that uses DAC. 2 R CO4
State the use of cascading signals of 8259 programmable interrupt U
7 2 CO4
controller.
State the role of In-service register of 8259 interrupt controller. U
8 2 CO4
9 State the use of IRR [Interrupt Request Register]. 2 U CO4
10 What do key bouncing and key debouncing mean? 2 R CO4
11 What is USART? 2 R CO4
12 Brief about Synchronous data transfer scheme? 2 U CO4
13 Write about resolution and conversion time in DAC? 2 R CO4
14 List the functions performed by 8279? 2 R CO4
15 Draw the Bit Set/Reset control word format of 8255. 2 R CO4
16 What is Asynchronous data transfer scheme? 2 R CO4
17 What is debouncing in 8279? 2 R CO4
18 Write about cycle stealing in DMA? 2 R CO4
19 List the features of 8251. 2 U CO4
20 Predict the function of gate signal in 8254 timer. 2 R CO4
Using two 8259-interrupt controllers what is the maximum number of 2 U
21 CO4
peripherals that can be provided with interrupt facility.
22 What is mean by Direct Memory Access (DMA)? 2 R CO4
PART B(14 Marks) Marks BTL COs
Illustrate the working of the 8255 Programmable Peripheral Interface
1. 14 Ap CO4
(PPI) for parallel communication. Include the control word format.
Explain the working of the 8251A Serial Communication Interface
2. 14 A CO4
(USART) with the control word format.
Discuss in detail the working of DMA controller with its relevant 14
3. A CO4
formats.
Describe the operation and interfacing of the 8279 Keyboard/Display
4. Controller with 8086. Provide functional block diagrams and timing 14 Ap CO4
sequence.
Draw and explain the interfacing of 8253/54 Timer with 8086. Show the 14
5. A CO4
modes of operation and provide application scenarios.
Analyze the functioning of 8259 Interrupt Controller in managing multiple
6. 14 A CO4
interrupts. How does it interface with 8086, and how are priorities resolved?
6
7. Sketch and explain the D/A interface with microprocessor. 14 A CO4
8. Sketch and explain the A/D interface with microprocessor. 14 A CO4
Design an 8086-based system interfacing both a DAC and ADC. Show 14
9. Ap CO4
block diagrams and explain control signals involved.
14
10. Demonstrate the different modes of operation of 8253/54 timer. A CO4
PART C( 10 Marks) Marks BTL COs
Explain the mode of operation of 8255 Programmable Peripheral
1. 10 An CO4
Interface.
2. Discuss how 8251, used for serial data communication? 10 A CO4
Draw an 8086-based system interfacing ADC. Show block diagrams and
3. 10 Ap CO4
explain control signals involved.
Describe the operation and control word format of keyboard/Display
4. 10 A CO4
controller.
Syllabus
8051 MICROCONTROLLER
Unit-V Architecture of 8051 – Special Function Registers(SFRs) - I/O Pins Ports and Circuits – Instruction set -
Addressing modes - Assembly language programming.
PART A (2 Marks)
Marks BTL COs
1 State how the register bank in 8051 is selected? 2 R CO5
2 Compare microprocessor and microcontroller. 2 U CO5
3 Write the significance of EA line of 8051 microcontroller. 2 U CO5
4 Compare the MOVX, MOVC and MOV instruction of 8051. 2 U CO5
5 What is a state in 8031/ 8051 microcontroller? 2 R CO5
How does 8051 differentiate between the external and internal program 2 R
6 CO5
memory?
7 R
List the instructions of 8051 that affect only carry flag. 2 CO5
8
9 State the difference between RET and RET 1 instructions in 8051. 2 R CO5
10 Write about relative addressing in 8051. 2 U CO5
What are the SFRs associated with timer operations of 8051 2 R
11 CO5
microcontroller?
Give the PSW setting for making register bank 2 to as default register U
12 2 CO5
Bank in 8051 microcontroller?
State the size of the on-chip program memory and on-chip data 2 R
13 CO5
memory of 8051 microcontroller.
R
14 List the features of the parallel ports of 8051 microcontroller. 2 CO5
15 State the functions of the following signals of 8051 ALE and PSEN 2 R CO5
Predict the possible branching range when an AJMP/ACALL of 8051 U
16 2 CO5
instruction is executed.
17 State about register banks in 8051 microcontroller. 2 R CO5
18 Differentiate RRA and RRCA instruction in 8051 microcontroller. 2 R CO5
19 Sketch the format of PSW of 8051. 2 R CO5
20 What is SFRs in 8051? 2 R CO5
7
21 Name the addressing modes supported by 8051. 2 U CO5
22 List the features of 8051 microcontroller. 2 R CO5
23 What do bit addressable registers in 8051 microcontroller mean? 2 R CO5
24 Classify the instruction set of 8051 microcontroller. 2 U CO5
25 Mention the operating frequency of 8051. 2 U CO5
What is the value of R0 after executing “MOV R0, 45”. Assume the R
26 2 CO5
date in the RAM address 45 is 55.
PART B(14 Marks) Marks BTL COs
1. Explain about arithmetic and control instruction set of 8051. 14 A CO5
Sketch the pin diagram of 8051 Microcontroller and explain each pin 14
2. A CO5
in detail.
Analyze the operation of 8051 I/O ports. How are the I/O pins 14 CO5
3. A
controlled internally? Explain with port circuit diagrams.
Justify the use of 8051 in embedded applications. What features make 14 CO5
4. it suitable for real-time control systems? Discuss with examples. U
8
Faculty In-charge HOD