MPMC Lab
MPMC Lab
R20 Regulations
Course Objectives:
To acquire the knowledge on microprocessors and microcontrollers, interfacing various peripherals,
configure and develop programs to interface peripherals/sensors.
Course Outcomes:
Formulate problems and implement algorithms using Assembly language.
Develop programs for different applications.
Interface peripheral devices with 8086 and 8051.
Use Assembly/Embedded C programming approach for solving real world problems
List of Experiments:
1. PROGRAMS FOR 16 BIT ARITHMETIC OPERATIONS (Using various addressing modes)
a) Write an ALP to Perform Addition and Subtraction of Multi precision numbers.
b) Write an ALP to Perform Multiplication and division of signed and unsigned
Hexadecimal numbers.
c) Write an ALP to find square, cube and factorial of a given number.
2. PROGRAMS INVOLVING BIT MANIPULATION INSTRUCTIONS
a) Write an ALP to find the given data is positive or negative.
b) Write an ALP to find the given data is odd or even.
c) Write an ALP to find Logical ones and zeros in a given data.
3. PROGRAMS ON ARRAYS FOR 8086
a) Write an ALP to find Addition/subtraction of N no‘s.
b) Write an ALP for finding largest/smallest no.
c) Write an ALP to sort given array in Ascending/descending order.
4. PROGRAM FOR STRING MANIPULATIONS FOR 8086
a) Write an ALP to find String length.
b) Write an ALP for Displaying the given String.
c) Write an ALP for Comparing two Strings.
d) Write an ALP to reverse String and Checking for palindrome.
5. PROGRAM FOR DIGITAL CLOCK DESIGN USING 8086
a) Write an ALP for Designing clock using INT 21H Interrupt.
b) Write an ALP for Designing clock using DOS Interrupt Functions.
c) Write an ALP for Designing clock by reading system time.
6. INTERFACING STEPPER MOTOR WITH 8086
a) Write an ALP to 8086 processor to Interface a stepper motor and operate it in clockwise
by choosingvariable step-size.
b) Write an ALP to 8086 processor to Interface a stepper motor and operate it in Anti-
clockwise bychoosing variable step-size.
7. INTERFACING ADC/DAC WITH 8086
a) Write an ALP to 8086 processor to Interface ADC.
b) Write an ALP to 8086 processor to Interface DAC and generate Square Wave/Triangular
Wave/Stepsignal.
8. COMMUNICATION BETWEEN TWO MICROPROCESSORS
a) Write an ALP to have Parallel communication between two microprocessors using 8255
b) Write an ALP to have Serial communication between two microprocessor kits using
8251.
9. PROGRAMS USING ARITHMETIC AND LOGICAL INSTRUCTIONS FOR 8051
a) Write an ALP to 8051 Microcontroller to perform Arithmetic operations like addition,
subtraction,
b) Multiplication and Division.
c) Write an ALP to 8051 Microcontroller to perform Logical operations like AND, OR and
XOR.
JNTUA B.Tech. R20 Regulations
Reference Books:
1. Kenneth.J.Ayala. The 8051 microcontroller, 3rd edition, Cengage learning,2010.
2. Advanced microprocessors and peripherals-A.K ray and K.M.Bhurchandani, TMH, 2nd
edition2006.
3. The 8051 Microcontroller and Embedded Systems: Using Assembly and C by Muhammad
AliMazidi, Janice GillispieMazidi, Second Edition.