You are on page 1of 9

FORMAT: QP09 KCE/DEPT.

OF EEE

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

SUBJECT: MICROPROCESSORS AND MICROCONTROLLERS

YEAR/SEMESTER: III/V

QUESTION BANK (EE8551)


(Version: 4)

PREPARED
BY

Dr.P.NARASIMMAN, AP / EEE

MP&MC 2.1 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

EE8551 MICROPROCESSORS AND MICROCONTROLLERS LTPC


3003

UNIT I 8085 PROCESSOR 9

Hardware Architecture, pin outs – Functional Building Blocks of Processor Memory


organization – I/O ports and data transfer concepts– Timing Diagram – Interrupts.

UNIT II PROGRAMMING OF 8085 PROCESSOR 9

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.

UNIT III 8051 MICRO CONTROLLER 9

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.

UNIT IV PERIPHERAL INTERFACING 9

Study on need, Architecture, configuration and interfacing, with ICs: 8255, 8259, 8254,
8279, - A/D and D/A converters &Interfacing with 8085& 8051.

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS 9

Simple programming exercises- key board and display interface –Control of servo motor
stepper motor control- Application to automation systems.

TOTAL: 45 PERIODS

Staff In-Charge HOD

MP&MC 2.2 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

COURSE PLAN
Sub. Code : EE8551 Branch / Year / Sem : EEE / III / V
Sub. Name : Microprocessors and Microcontrollers Batch : 2020-2024
Staff Name : Dr.P.Narasimman Academic Year : 2022-23 (ODD)

COURSE OBJECTIVE
To impart knowledge on the following Topics
1. Architecture of μP 8085 & μC 8051
2. Addressing modes & instruction set of 8085 & 8051.
3. Need & use of Interrupt structure 8085 & 8051.
4. Simple applications development with programming 8085 & 8051
TEXT BOOKS
T1. Muhammad Ali Mazidi & Janice Gilli Mazidi, R.D.Kinely ‘The 8051 Micro Controller and
Embedded Systems’, PHI Pearson Education, 5th Indian reprint, 2003.
T2. R.S. Gaonkar, ‘Microprocessor Architecture Programming and Application’, with 8085,
Wiley Eastern Ltd., New Delhi, 2013.
REFERENCE BOOKS
R1. Krishna Kant, “Microprocessor and Microcontrollers”, Eastern Company Edition,
Prentice Hall of India, New Delhi, 2007
WEB RESOURCES:
W1.https://web.njit.edu/~abdallah/Chapter4.ppt (Topic.No:04)
W2 .https://www.youtube.com/watch?v=liRPtvj7bFU (Topic.No:11)
W3.https://nptel.ac.in/courses/108105102/26 (Topic.No:17)
W4. http://www.slideshare.net/shashank03/assembly-language-programming-of 8085
(Topic.No:22)
W5. www.jefflamoon.com/others/MA/chap14.ppt (Topic.No:26)
W6. https://docs.google.com/presentation/d/...EKd6skkrIamG2-pqtcknI (Topic.No:28)
W7.ahmetozkurt.net/robotics2005/.../SERVO%20MOTOR%20CONTROL.ppt.
(Topic.No:31)

MP&MC 2.3 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

Topic Topic Books Page No. Teaching No. of Cumulative


No for Methodology Hours No. of
Reference Required periods
UNIT I 8085 PROCESSOR (9+1)
1. Hardware Architecture R1 73-84 BB 2 2
2. Pin outs R1 84-86 BB 1 3
Functional Building Blocks of
3. R1 73-84 BB 1 4
Processor
4. Memory organization W1 - Video 1 5
I/O ports and data transfer
5. R1 38-44 BB 2 7
concepts
6. Timing Diagram R1 87-94 Video 2 9
7. Interrupts T2 375-393 BB 1 10
LEARNING OUTCOME
At the end of unit, students should be able to
• Describe the architecture of 8085.
• Realize the I/O ports and data transfer concepts.
• Explain the timing diagram of 8085 instructions.
UNIT II PROGRAMMING OF 8085 PROCESSOR (9+1)
Instruction format and
8. R1 99-102 BB 2 12
addressing modes
Assembly language format, Data T2 361
9. BB 2 14
transfer instructions R1 103-106
Data manipulation & control
10. R1 106-124 BB 2 16
instructions
Programming : Loop structure
T2 228-231
11. with counting & Indexing, Look Video 2 18
W2
up tability
12. Subroutine instructions R1 115-120 Video 1 19
13. Stack T2 296-302 BB 1 20
LEARNING OUTCOME
At the end of unit, students should be able to
• Outline the basics of programming 8085 processor.
• Express the concepts of data transfer, data manipulation & control instructions.
• Illustrate the subroutine concept.
UNIT III 8051 MICRO CONTROLLER (9+1)
14. Hardware Architecture R1 419-420 Video 2 22
15. Pin outs R1 430-432 BB 1 23
Functional Building Blocks of
16. R1 420-422 BB 1 24
Processor
R1 420-423
17. Memory organization Video 1 25
W3
I/O ports and data transfer 438-442,
18. R1 BB 1
concepts 494-498 26

19. Timing Diagram R1 BB 1 27


432-438

MP&MC 2.4 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

Topic Topic Books for Page No. Teaching No. of Cumulative


No Reference Methodology Hours No. of
Required periods
20. Interrupts R1 465-470 BB 1 28
21. Data Transfer, Manipulation,
Control Algorithms & I/O R1 494-519 BB 1 29
instructions
22. Comparison to Programming
W4 - BB 1 30
concepts with 8085
LEARNING OUTCOME
At the end of unit, students should be able to
• Recognize 8051 hardware architecture and pin outs.
• Realize the I/O ports and data transfer concepts.
• Explicate the interrupts of 8051 microcontroller.
UNIT IV PERIPHERAL INTERFACING (9+1)
23. Study on need, Architecture,
configuration and interfacing R1 249-256 BB 2 32
with ICs: 8255
24. Architecture, configuration
and interfacing with ICs: T2 505-513 BB 2 34
8259
25. Architecture, configuration
and interfacing with ICs: T2 494-505 BB 2 36
8254
26. Architecture, configuration
R1
and interfacing with ICs: 281-294 Video 2 38
W5
8279
27. A/D converters Interfacing
T2 414-422 Video 1 39
with 8085& 8051.
28. D/A converters Interfacing R1
404-414 BB 1 40
with 8085& 8051. W6
LEARNING OUTCOME
At the end of unit, students should be able to
• Analyze the concept of configuration and interfacing with ICs.
• Describe the architecture of interfacing ICs.
• Realize the A/D converters and D/A converters and their interfacing.
UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS (9+1)
Simple programming
29. 2exercises R1 498-520 BB 2 42
30. Key board and display
R1 261-265 BB 2 44
interface
31. Closed loop control of servo
W7 - Video 2 46
motor
32. Stepper motor control T1 432-440 BB 2 48
33. Application to automation
R1 539-559 Video 2 50
systems.
LEARNING OUTCOME
At the end of unit, students should be able to
• Outline the programming skills of 8051 microcontroller.
• Explain the concept of Key board and display interface.
• Understand the working of servo motor and washing machine.

MP&MC 2.5 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

COURSE OUTCOME
At the end of the course, the students will be able to
• Acquire knowledge in Addressing modes & instruction set of 8085 & 8051.
• Need & use of Interrupt structure 8085 & 8051.
• Understand the importance of Interfacing
• Explain the architecture of Microprocessor and Microcontroller.
• Write the assembly language programme.
• Develop the Microprocessor and Microcontroller based applications.

CONTENT BEYOND THE SYLLABUS


1. Agriculture Applications using 8051.
INTERNAL ASSESSMENT DETAILS

ASSESSMENT NUMBER I II MODEL

Topic Nos. 1-10 11-22 1-33


Date

ASSIGNMENT DETAILS

ASSIGNMENT NUMBER I II
Topic Nos. 1-10 PCE
Date

ASSIGNMENT I (50 MARKS) PCE(50 MARKS)


Topic (1-10) Before CAT1 Before CAT2
Part-A Activity 1: Case Study Presentation
1. What is opcode fetch cycle? ➢ ARM processor family
2. Mention the use of ALE ➢ Flaw in Intel Pentium Chip(Ethical issue)
3. What is the use of stack pointer? Activity 2: Quiz
4. Classify the addressing modes of 8085 ➢ Subject related to microprocessors
microprocessor. (objective type)
5. What is the function of the CALL instruction? Activity 3: Gate Paper Solving
Part-B ➢ Subject related to microprocessors
1. Define vector address. List the various (objective type)
interrupts of 8085 processor and elucidate the Activity 4: Poster Presentation
use of Interrupt service routine. ➢ Operation of Washing machine
2. Explain with a neat block diagram the ➢ Smart card reader
architecture of 8085 microprocessor. Activity 5: APH
3. Explain the function of various pins in 8085 ➢ Medical Applications
microprocessor. ➢ Microcontroller based Systems for
Agriculture

MP&MC 2.6 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

COURSE ASSESSMENT PLAN

CO Co Description Weightage CAT1 CAT2 MODEL Assign 1. PCE AU


CO1 Acquire knowledge in
Addressing modes &
20% ✓ ✓ ✓
instruction set of 8085 &
8051
CO2 Need and use of Interrupt
structure 8085 & 8051 20 % ✓ ✓ ✓
CO3 Understand the importance
10 % ✓ ✓
of Interfacing
CO4 Explain the architecture of
Microprocessor and 20 % ✓ ✓ ✓ ✓
Microcontroller
CO5 Write the assembly language
program for 8085 and 8051 20 % ✓ ✓ ✓

CO6 Develop the Microprocessor


and Microcontroller based 10% ✓ ✓ ✓
applications

COURSE OUTCOME ALLIGNMENT MATRIX – MODEL EXAM SAMPLE QUESTION SET

Q.No. Question Marks CO BTL PI


1. What is meant by level triggered interrupt? Which of the
interrupts in 8085 are level triggered? 2 CO2 L1 3.1.6
2. Compare Standard I/O &Memory mapped I/O. 2 CO4 L2 1.3.1
3. Explain LDA, STA instructions of 8085 MP. 2 CO1 L2 1.3.1
4. What is the result stored in A register of 8085 after
subtracting 43H from 78H? 2 CO1 L3 1.1.2
5. How the microcontrollers respond to any interrupt request? 2 CO2 L1 1.2.1
6. Show the purpose of EA pin. 2 CO4 L2 1.2.1
7. List some of the features of 8259 Programmable Interrupt
2 CO2 L1 1.3.1
controller.
8. Recall the modes of operation in 8254. 2 CO3 L1 1.3.1
9. Outline the tasks involved in keyboard interfacing. 2 CO3 L2 3.1.6
10. Show the significance of BSR mode of 8255. 2 CO3 L2 1.2.1
11.a.(i) Explain the architecture of 8085 microprocessor with a neat
(07) CO4 L1 1.3.1
diagram.
11.a.(ii) Outline the function of various registers available in 8085. (06) CO4 L1 1.3.1
11.b. (i) Recall the function of the various interrupts available with (07) CO1 L1 3.1.1
8085 microprocessor.
11.b. (ii) Explain in detail about the I/O read and write operation of
8085 processor with timing diagram (06) CO1 L2 3.1.1

12.a. (i) Illustrate the execution of instruction CALL 4322H with


timing diagram. Assume the relevant details. (07) CO1 L3 1.3.1

MP&MC 2.7 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

12.a. (ii) Write an 8085 Assembly language program to convert a


(06) CO1 L6 1.1.2
Hexadecimal Number to ASCII code.
12.b. (i) 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 (08) CO1 L6 1.3.1
result of the addition in 4300H and 4301H.Assume the sum
does not exceed 16 bits.
12.b. (ii) Identify the addressing mode and mention the operation of
the following instructions.
(05) CO1 L3 1.2.1
[1] DCR M [2] ANA B [3] RLC [4] CALL 2034 H
[5] MVI A, A7H
13.a.(i) Illustrate the memory organization of 8051 microcontroller. (07) CO4 L2 1.3.1
13.a(ii) Write an assembly language program Using 8051
instructions to add an array of unsigned binary numbers
available in RAM location 50 to 5F and store the result at (06) CO4 L6 1.3.1
locations 70 and 71.
13.b.(i) Write an assembly language program for 8051
microcontroller to divide the 8- bit number stored in
memory location 2400H by the 8- bit number stored in (07) CO4 L6 1.3.1
memory location 2401H. Store the quotient in 2402H and
the remainder in 2403H.
13.b.(ii) Explain the instruction set of 8051 microcontroller. (06) CO1 L2 1.2.1
14.a. With a sample program, Explain the interfacing of A/D
converter and D/A converter with 8085 microprocessor (13) CO3 L4 1.3.1
14.b Demonstrate how a matrix key board is interfaced with
microprocessor using programmable peripheral interface (13) CO3 L3 1.3.1
15.a. A switch (SW) is connected to pin P2.7. Write an ALP to
monitor the status of SW and perform the following.
(13) CO3 L5 3.1.6
If SW = 0, the stepper motor moves clockwise If SW = 1, the
stepper motor moves counter clockwise.
15.b Develop the application of 8051 microcontroller in any
automation control application. (13) CO5 L5 3.2.2

16.a Design a memory interfacing circuit to interconnect 1Kb


(1024*8) RAM to 8085 microprocessor with the address (15) CO3 L4 1.2.1
range of 0000H to 03FFH.
16.b Differentiate between the following instructions clearly
(i) Push and POP
(ii) CALL and Jump
(iii) ADD and ADC (15) CO3 L4 1.3.1
(iv) INC and INX
(v) MOVB,B and MOVB, A

MP&MC 2.8 KCE/EEE/QB/III YR/MP&MC


FORMAT: QP09 KCE/DEPT. OF EEE

ASSESSMENT PAPER QUALITY MATRIX

PART BTL 1 BTL 2 BTL 3 BTL 4 BTL 5 BTL 6


A 1,5,7,8 2,3,6,9,10 4 - - -
11.a.i 11.b.ii 12.a.i 14.a 15.a 12.a.ii
11.a.ii 13.a.i 12.b.ii 15.b 12.b.i
B
11.b.i 13.b.ii 14.b 13.a.ii
13.b.i
C - - - 16a,b - -
TOTAL 16% 16% 15% 24% 14% 15%
Distribution 32% 39% 29%

MP&MC 2.9 KCE/EEE/QB/III YR/MP&MC

You might also like