Sei sulla pagina 1di 3

PRESIDENCY UNIVERISTY, BENGALURU

School of Engineering
PROGRAMME – B.Tech Computer Science Engineering
IV Semester 2018-19
Course Handout

Dated: 02/01/2018
Course Code : CSE254
Course Name : Microprocessor and Microcontroller Laboratory
Credit Structure : 0-0-2-1
Instructor-in-charge : Sreedevi T.R
Instructors : Narasimha Murthy MS, Rama Krishna, Tapas Guha

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

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.

Exp 12 : 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).

1
Exp 13: Design and develop anALP to generate a Half Rectified Sine waveform using the
DAC interface.
Exp 14: 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
Exp 15: Design and develop an ALP to sense room temperature using 8255 Programmable
Peripherel Interface (PPI)

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.
1 To understand the instruction Write an Assembly Language Program (ALP) to T1,T2,T3
sets of 8086 and write simple perform Arithmetic operations like Addition,
ALP for Arithmentic subtraction, Multiplication and Division on two
operations numbers
2 To learn addition of BCD Write an ALP to add two Binary Coded Decimal T1,T2,T3
numbers using registers (BCD) numbers
3 To understand the operations Write an ALP to find the sum of N consecutive T1,T2,T3
on registers numbers
4 To understand the working of Write an ALP To move contents of array from one T1,T2,T3
arrays and the operations on it memory location to another memory location.

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


with the use of 8086 hexadecimal with 8086 Microprocessor.
instructions set and registers.
6 To understand the concept of Write an ALP to separate odd and even numbers using T1,T2,T3
Source Index and Destination 8086 microprocessor
Index registers and looping in
8086
7 To implement bubble sort Write an ALP to sort N numbers in ascending order T1,T2,T3
technique in Assembly level using Bubble sort technique
language programming

8 To understand the procedures Write an ALP to print N Fibonacci numbers. T1,T2,T3


and macros in 8086
programming

9 To learn and implement Write an ALP to to search a key element in a list of


searching algorithm in 8086 numbers.
programming T1,T2,T3

2
10 To explore DOS interrupts to Write an ALP to read the current time and Date from
fetch system time. the system and display it in the standard format on the
scre a. . T1,T2,T3

11 To understand the usage string Write an ALP to chech whether a string is Palindrome
instructions in 8086 or not.
programming T1,T2,T3

12 To explore interfacing Write an ALP to generate the Sine Wave using DAC
concepts using 8255 and 8086 interface (The output of the DAC is to be displayed on
the CRO. T1,T2,T3

13 To explore interfacing Write an ALP to generate a Half Rectified Sine


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

14 To learn the concept of rotate Write an ALP to to drive a Stepper Motor interface
instructions and interfacing and rotate the motor in specified direction (clockwise
stepper motor to 8086 through or counter-clockwise) by N steps T1,T2.T3
8255
15 To explore interfacing Write an ALP to implement a temperature sensor
concepts using 8255 and 8086 using 8255
T1,T2.T3

7. Self learning topics :


Sl. Self Study Topic Source
No.
1 Conversion of hexadecimal to binary T1,T2,T3
Number
2 Conversion of Analog signal to Digital T1,T2,T3
value
8.Assesments:
Component Duration %
(minutes) Weightage Marks Date & Time Venue
Continuous
NA 50 50
Evaluation
Mid Term
NA 20 20
Examination
End Term
120 30 30
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

Potrebbero piacerti anche