Documente Academic
Documente Profesional
Documente Cultură
Shamshabad-501218, Hyderabad
:
:
:
Course Coordinator
Team of Instructors
:
:
A1427
MICROPROCESSORS AND INTERFACING LABORATORY
Lectures
Tutorials
Practicals
3
Prof. L V Narasimha Prasad, Professor and Head
Mr D Raman and Mr G S Prasada Reddy
Credits
2
1. LABORATORY OVERVIEW:
Microelectronics is increasingly pervading all aspects of industry, education and the home. A
leading example of microelectronic techniques is the microprocessor, and as its use increases
the need for knowledge and understanding will also grow. The microprocessor lab was designed
to give an overview over the programming of such a microprocessor system.
The students will write and debug assembly language programs using the Microsoft Macro
Assembler (MASM).
This Lab provides students with the opportunity to gain experience in microprocessor-based
system design, assembly language programming, and I/O interfacing to microprocessors.
2. OBJECTIVES:
The objectives of this laboratory are:
i. To understand the concepts of low level programming and its applications in engineering.
ii. To understand the processor control instruction set and to achieve the good Assembly
Language Programming skills.
iii. To understand the interfacing process of various I/O components to microprocessor.
iv. To get clear overview of the interaction for data transfer between CPU, memory and I/O
ports.
3. OUTCOMES:
Upon the completion of this course, the student will be able to:
i. Understand the interaction between CPU, memory and I/O ports.
ii. Program a microprocessor using instruction set of 8086.
iii. Master the assembly level programming using 8086 instruction set.
iv. Understand how different I/O devices can be interfaced to processor and will explore
several techniques of interfacing.
v. Understand the concepts of Assembly level language programming and its applications.
4. LIST OF EXPERIMENTS:
Week
1
Program Category
Addition and Subtraction
Sum of Numbers
Complement of Numbers
Shift Operation
Rotate Instructions
List of Programs
a) Addition and Subtraction of two 8-bit operands
b) Addition and Subtraction of two 16-bit operands
c) Addition and Subtraction of two 8-bit operands
stored at memory locations 2100 & 2105.
d) Addition and Subtraction of two 16-bit operands
stored at memory locations 2100 & 2105.
e) Multibyte Addition of two numbers
f) Multibyte Subtraction of two numbers
a) Multiplication and Division of two 8-bit operands
b) Multiplication and Division of two 16-bit operands
c) Multiplication and Division of two 8-bit operands
stored at memory locations 2100 & 2105.
d) Multiplication and Division of two 16-bit operands
stored at memory locations 2100 & 2105.
a) Calculate the sum of series of Five 8-bit numbers
b) Calculate the sum of series of Five 16-bit numbers
c) Calculate the sum of n natural numbers
d) Calculate the sum of squares of n numbers
e) Calculate the sum of cubes of n numbers
f) Calculate the arithmetic mean of n numbers
a) Find the ones compliment of 8bit and 16 bit
number
b) Find the Twos compliment of 8bit and 16 bit
number
a) Perform shift left(1 bit) on 8 bit and 16 bit data
b) Perform shift left(2 bits) on 8 bit and 16 bit data
c) Write an Assembly Language Program to count the
number of ones and zeros of a given binary
operand using shift operations?
d) Write an Assembly Language Program to find
whether the given number is even or odd using shift
instructions?
a) Perform ROL on given operand
b) Perform ROR on given operand
2
Masking of bits
Code Conversion
10
11
String Manipulations
12
General Programs
13
Interfacing Experiments
d)
e)
f)
g)
h)