0 Syllabus & Lab
0 Syllabus & Lab
Microcontrollers –
14CS503
Course Structure
• Periods per week: 05
• Continuous Internal Assessment(CIA): 40 marks
• Semester End Exam(SEE): 60 marks
• Duration of SEE: 3 hours
Prerequisites
• Digital Logic Design:
• Number System
• Conversion from one number system to another
• Types of Memory
• Computer Organization:
• Design of Computer (CPU)
• Addressing Modes
• DMA
• Input-Out Organization
Theory Syllabus
• UNIT- I (16 Periods): The 8086 Microprocessor Family, the 8086
Internal Architecture: Introduction to Programming the 8086. 8086
Family Assembly Language Programming, Implementing standard
Program Structures in 8086 Assembly language, Strings, Procedures
and Macros.
• UNIT – II (14 Periods): 8086 System Connections, Timing: The Basic
8086 Microcomputer System, 8086 Bus activities during the Read and
Write Machine Cycles, 8086 pin Diagram; 8086 Interrupts and
Interrupt Applications: 8086 Interrupts and Interrupts Responses.
Theory Syllabus
• UNIT –III (16 Periods): Interfacing Peripherals and Applications:
Interfacing the Microprocessor to the Keyboard, Alphanumeric
displays; 8259 Priority Interrupt Controller, 8237 DMA Controller. The
8051 Microcontrollers – Assembly language Programming- JUMP,
LOOP, CALL instructions.
• UNIT-IV (14 Periods): Micro Controllers: I/O port Programming-
addressing Modes, Arithmetic, Logic, Single – bit instructions and
Programming-Timer Counter programming in the 8051, Interrupts
Programming.
Text Books
• Douglas V. Hall, “Microprocessors and Interfacing”, Tata McGraw-Hill,
Revised Second Edition.
• Muhammad Ali Mahadi and Janice Gillespie Mazidi, “The 8051
Microcontroller and Embedded Systems”, Pearson Education 2004.
Reference Books
• Yu-cheng Liu, Glenn A. Gibson, “Microcomputer systems: The 8086 /
8088 Family architecture, Programming and Design”, Second edition,
Prentice Hall of India, 2003.
• Barry B. Brey, “The Intel Microprocessors, 8086/8088,80186/80188,
80286, 80386, 80486, Pentium, PentiumPro Processor, Pentium II,
Pentium III, Pentium IV, Architecture, Programming & Interfacing”,
Sixth Edition, Pearson Education Prentice Hall of India, 2002.
Lab Experiments – 14CSL501
1. Write a 8086 assembly language program to arrange the given numbers in ascending
order.
2. Write a 8086 assembly language program to count number of positive elements,
negative elements and zeros in the given array.
3. Write a 8086 assembly language program to find the square of a number using look-
up-table.
4. Write a 8086 assembly language program to move a string byte from a memory
location to another memory location.
5. Write a 8086 assembly language program to calculate the maximum and minimum in
an array.
6. Write a 8086 assembly language program to convert BCD to binary using near
procedures.
Lab Experiments – 14CSL501
7. Write a 8086 assembly language program to demonstrate passing parameters
to procedures through registers.
8. Write a assembly language program to move a string from one location to
another location using macros.
9. Write a 8086 assembly language program to calculate nCr by using near
procedures.
10. Assume that 5 BCD data items are stored in RAM locations starting at 40H.
Write a program to find the sum of all the numbers. The result must be in BCD.
Lab Experiments – 14CSL501
11. Write assembly language program
a) Three sub-routine to transfer the data from on-chip ROM to RAM location staring at 40H.
b) Add them and save in 60H
c) Find the average of the data and store it in R7
Note that data is stored in a code space of on-chip ROM.
12. Write a 8051 assembly language program to arrange the given numbers in
ascending order.