You are on page 1of 5

PRESIDENCY UNIVERSITY

Itgalpura, Bengaluru – 560064, Karnataka, India

SCHOOL OF ENGINEERING
PROGRAMME – B.Tech Computer Science Engineering
IV Semester 2018-19
Course Handout
Dated: 28/12/2018
Course Code : CSE254
Course Name : Microprocessors and Microcontrollers Laboratory
Credit Structure : 0-0-2-1
Instructor-in-charge: Prof. Ramakrishna. K
Instructors : Dr. Narasimha Murthy M S, Dr. Deepak. S. Sakkari, Prof. Sanjeev
Kaulgud, Prof. Poornima
1. Learning Objectives and Outcomes of the Course :
Learning Objectives:
This course will enable students to
(i) To provide practical exposure to the students on microprocessors, design and coding
knowledge on 80x86 family
(ii) To give the knowledge and practical exposure on connectivity and execute of 8086 with
interfacing devices like LED displays, Keyboards, DAC/ADC, and various other devices.
Learning Outcomes:
After studying this course, students will be able to
(i) Learn 80x86 instruction sets and gain the knowledge on how assembly language works.
(ii) Design and implement programs written in 80x86 assembly language
(iii) Know functioning of hardware devices and interfacing them to x86 family
(iv) Choose processors for various kinds of applications.
2. Course Description :
This course introduces the assembly level language programming of 8086. The course
introduces the core concept of microprocessor and developes in students the assembly
language programming skills along with real time applications of microprocessor.It gives a
practical training to students to perform interfacing peripheral devices with 8086
microprocessor. This lab focusses mainly on software and few interfacing programs with
microprocessor

1
3. Syllabus :

Exp.1 : Write an Assembly Language Program (ALP) to perform Arithmetic


operations like Addition, subtraction, Multiplication and Division on two
numbers

Exp.2 : Write an ALP to add two Binary Coded Decimal (BCD) numbers

Exp.3 : Write an ALP to find the sum of N consecutive numbers

Exp.4 : Write an ALP To move contents of array from one memory location to
another memory location

Exp.5 : Write an ALP to convert a BCD number to hexadecimal number

Exp.6 : Write an ALP to separate odd and even numbers from an Array

Exp.7 : Write an ALP to sort N numbers in ascending/descending order

Exp.8 : Write an ALP to print N Fibonacci numbers

Exp.9 : Write an ALP to to search a key element in a list of numbers

Exp.10 : Write an ALP to read the current time from the system and display on screen

Exp.11 : Write an ALP to chech whether a string is Palindrome or not

Interfacing Experiments

Exp.12 : Design and develop an ALP to generate the Square Wave using DAC
interface. (The Output of the DAC is to be displayed on the CRO)

Exp.13 : Design and develop an ALP to generate the Saw Tooth Wave using DAC
interface. (The Output of the DAC is to be displayed on the CRO)

Exp.14 : Design and develop an ALP to generate the Triangular Wave using DAC
interface. (The Output of the DAC is to be displayed on the CRO)

Exp.15 : Design and develop anALP to generate a Half Rectified Sine waveform using
the DAC interface. (The Output of the DAC is to be displayed on the CRO)

Exp.16 : Design and develop an ALP to generate the Sine Wave using DAC interface.
(The Output of the DAC is to be displayed on the CRO)

Exp.17 : Design and develop an ALP to to drive a Stepper Motor interface and rotate
the rotor in specified direction (clockwise or anti-clockwise) by N steps

2
4. Text Book(s):
T1. Douglas V Hall SSSP Rao, “ Microprocessor and Interfacing”, 3rd editon, Mc Graw Hill ,
Higer Education, 2012.
T2. Barry B Brey, “ The Intel Microprocessors”, 8th edition, Pearson , 2014.
5. Reference Book(s):
R1. Muhammad Ali Mazidi, Janice Gillispie Mazidi, Danny Causey, “The x86 PC Assembly
Language Design and Interfacing”, 5th Edition, Pearson, 2013.
R2. Muhammad Ali Mazidi, “Microprocessors and Microcontrollers”, First Impression,
Pearson Education.
6. Session Plan :

Session
Objective Experiment Name Resources
No.

To understand the Write an Assembly Language Program T1,T2,T3


instruction sets of 8086 (ALP) to perform Arithmetic operations
1
and write simple ALP for like Addition, subtraction, Multiplication
Arithmentic operations and Division on two numbers

To learn addition of BCD Write an ALP to add two Binary Coded T1,T2,T3
2 numbers using registers Decimal (BCD) numbers

To understand the Write an ALP to find the sum of N T1,T2,T3


3 operations on registers consecutive numbers

To understand the Write an ALP To move contents of array T1,T2,T3


4 working of arrays and from one memory location to another
the operations on it memory location.

To learn number Write an ALP to convert a BCD number T1,T2,T3


conversions with the use to hexadecimal with 8086
5 of 8086 instructions set Microprocessor.
and registers.

To understand the Write an ALP to separate odd and even T1,T2,T3


concept of Source Index numbers using 8086 microprocessor
6 and Destination Index
registers and looping in
8086

To implement bubble Write an ALP to sort N numbers in T1,T2,T3


sort technique in ascending order using Bubble sort
7
Assembly level language technique
programming

3
To understand the Write an ALP to print N Fibonacci T1,T2,T3
8 procedures and macros numbers.
in 8086 programming

To learn and implement Write an ALP to to search a key element


9 searching algorithm in in a list of numbers. T1,T2,T3
8086 programming

To explore DOS Write an ALP to read the current time


10 interrupts to fetch and Date from the system and display it T1,T2,T3
system time. in the standard format on the scre a. .

To understand the usage Write an ALP to chech whether a string


11 string instructions in is Palindrome or not. T1,T2,T3
8086 programming

Interfacing Experiments

To explore interfacing Design and develop an ALP to generate


concepts using 8255 and the Square Wave using DAC interface.
12 T1,T2,T3
8086 (The Output of the DAC is to be
displayed on the CRO)

To explore interfacing Design and develop an ALP to generate


concepts using 8255 and the Saw Tooth Wave using DAC
13 T1,T2,T3
8086 interface. (The Output of the DAC is to
be displayed on the CRO)

To explore interfacing Design and develop an ALP to generate


concepts using 8255 and the Triangular Wave using DAC
14 T1,T2,T3
8086 interface. (The Output of the DAC is to
be displayed on the CRO)

To explore interfacing Write an ALP to generate the Sine Wave


15 concepts using 8255 and using DAC interface (The output of the T1,T2,T3
8086 DAC is to be displayed on the CRO.

To explore interfacing Write an ALP to generate a Half Rectified


16 concepts using 8255 and Sine waveform using the DAC interface. T1,T2.T3
8086

To learn the concept of Write an ALP to to drive a Stepper Motor


rotate instructions and interface and rotate the motor in
17 interfacing stepper specified direction (clockwise or counter- T1,T2.T3
motor to 8086 through clockwise) by N steps
8255

4
7. Self learning topics :

Sl.
Self Study Topic Source
No.

1 Conversion of hexadecimal to binary Number T1,T2,T3

2 Conversion of Analog signal to Digital value T1,T2,T3

8. Assesments:

Duration %
Component Marks Date & Time Venue
(minutes) Weightage

Continuous
NA 35 70
Evaluation

Mid Term
Examination NA 15 30

End Term
120 50 100
Examination

Note: Date,Time and Venue will be announced later.


9. Chamber consultation hour : Will be announced in class
10. Notices : All course related informations will be displayed on SoE notice board
11. Make-up policy:
(i) Make-up will be granted only for those students who have 75% of attendance in the
course, and approving the permission is at the discretion of Instructor-in-charge.
(ii) No make-up for Assignments
12. Note : Students must carry Laboratory record to lab.

Instructor-in-charge

You might also like