0% found this document useful (0 votes)
124 views

Bachelor of Engineering Fifth Semester: Lab Manual

The document contains a lab manual for experiments with microprocessors and microcontrollers. It includes a syllabus covering topics like 8086 architecture, assembly language programming, interfacing with peripheral devices. It lists 10 experiments that will be covered, including programs to perform math operations, add matrices, find maximum numbers in strings, and sort arrays. Peripheral devices like 8253 and 8251 will also be studied. The manual provides learning objectives and time required for each experiment.

Uploaded by

Akanksha Dixit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views

Bachelor of Engineering Fifth Semester: Lab Manual

The document contains a lab manual for experiments with microprocessors and microcontrollers. It includes a syllabus covering topics like 8086 architecture, assembly language programming, interfacing with peripheral devices. It lists 10 experiments that will be covered, including programs to perform math operations, add matrices, find maximum numbers in strings, and sort arrays. Peripheral devices like 8253 and 8251 will also be studied. The manual provides learning objectives and time required for each experiment.

Uploaded by

Akanksha Dixit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 28

LAB MANUAL

MICROPROCESSOR & MICROCONTROLLERS


(EC-504)

Bachelor of Engineering
Fifth Semester

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING

GROUP OF INSTITUTIONS
FACULTY OF ENGINEERING AND
MANAGEMENT, GRAM: RAIGWAN, PATAN BYPASS,
JABALAPUR (M.P.)
CONTENTS

TITLE PAGE …………………………………………………………………………. 1


SYLLABUS …………………………………………………………………………. 2
EXPERIMENTS………………………………………………………………………….. 3

SYLLABUS

UNIT-I
Architecture of 8086 Microprocessor
BIU and EU, register organization, pin diagram, memory organization, clock
generator 8284, buffers and latches, 8288 bus controller, maximum and
minimum modes.
Unit II
Assembly Language Programming of 8086
Instruction formats, addressing modes, instruction set, assembly language
programming, ALP tools- editor, assembler, linker, locator, debugger,
emulator.
8086 based multiprocessor systems
Interconnection topologies, coprocessors 8087 NDP, I/O processors 8089
IOP, bus arbitration and
control, lightly and tightly coupled systems.
Unit III
Peripheral devices and their interfacing
Memory interfacing, Programmable input/output ports 8255, Programmable
interval timer 8253, keyboard/
display controller 8279, CRT controller 8275, Programmable
communication interface 8251 USART.
Unit IV
Interrupts of 8086
Interrupts and interrupt service routine, interrupt cycle, maskable and non-
maskable interrupts, interrupt programming. Programmable interrupt
controller 8259.
DMA in 8086
Basic DMA operation, modes of DMA transfer, DMA controller 8257.
Unit V
8051 Microcontroller
Features, architecture, Pin Diagram, memory organization, external memory
interfacing, instruction syntax, data types, subroutines, addressing Modes,
instruction set, ALP of 8051. Applications of 8051.
S.No Topics to be covered Learning objectives Page No. of
No. Labs

1. Move to content of a array. Students will be able to learn and 2 Hrs.


measured the characteristics the
transmission line.

2. To find the N consecutive Numbers with In this experiment students will be 2 Hrs.
8086 . able to measure the attenuation the
transmission line.

3. To write a program for addition of two In this experiment students will be 2 Hrs.
matrixes by using 8086. able to measure the input impedance
the transmission line.

4. To sort an array in ascending and In this experiment students will be 2 Hrs.

Descending order. able to measure the phase


displacement between current and
voltage of the input of the transmission
line.

5. To write a program to 16 bit addition, In this experiment students will be 2 Hrs.


subtraction, Multiplication and division. able to measure the frequency
characteristics of the transmission
line.

6. To find the maximum no. in a given In this experiment students will be 2 Hrs.

string (16 byte long) and store it in able to measure the stationary wave of
the transmission line..
location 0510.

7. To study of 8253 Students will be able to learn all 2 Hrs.


passive filters and measured their
frequency characteristics.

8. To study of 8251 2 Hrs.

9. To study of microprocessor 8086. 2 Hrs.

10. To study of microcontroller 8051 2 Hrs.


Procedure:-
press Esc
screen shows “ANSHUMAN”
press E
screen shows Assembler/Deassembler
Press A “for assembler”
1000:0100
Program Adress
Write Program

Execution Step:
Esc
Press G
Enter-Enter
Program address
Enter
Press S
Enter
Any Key-2
Enter-2
Register name

INPUT OUTPUT
INPUT DATA OUTPUT DATA

1400 15 1500 15

1401 11 1501 11

1402 OA 1502 OA

1403 1A 1503 1A

1404 05 1504 05

1405 0B 1505 0B

1406 06 1506 06

1407 09 1507 09

Result:- Program to shift contents of an array from one location to another location was
executed.
Procedure:-
press Esc
screen shows “ANSHUMAN”
press E
screen shows Assembler/Deassembler
Press A “for assembler”
1000:0100
Program Adress
Write Program

Execution Step:
Esc
Press G
Enter-Enter
Program address
Enter
Press S
Enter
Any Key-2
Enter-2
Register name

Result: Thus program for finding sum of ‘N’ consecutive number was executed.

Aim: To write a program for addition of two matrixes by using 8086.


Apparatus Required: 8086 microprocessor kit.
Algorithm:
1. Initialize the pointer only for data and result.
2. Load AL with Count.

3. Add two Matrixes by each element.


4. Processes continue until CL is Zero.
5. Store result.
Procedure:-
press Esc
screen shows “ANSHUMAN”
press E
screen shows Assembler/Deassembler
Press A “for assembler”
1000:0100
Program Adress
Write Program

Execution Step:
Esc
Press G
Enter-Enter
Program address
Enter
Press S
Enter
Any Key-2
Enter-2
Register name

Result: Thus the output for addition for two matrixes was executed successfully.

AIM:- To sort an array in ascending and Descending order.


Procedure:-
press Esc
screen shows “ANSHUMAN”
press E
screen shows Assembler/Deassembler
Press A “for assembler”
1000:0100
Program Adress
Write Program

Execution Step:
Esc
Press G
Enter-Enter
Program address
Enter
Press S
Enter
Any Key-2
Enter-2
Register name
AIM - To write a program to 16 bit addition, subtraction, Multiplication and division.
Aim:-
Procedure:-
press Esc
screen shows “ANSHUMAN”
press E
screen shows Assembler/Deassembler
Press A “for assembler”
1000:0100
Program Adress
Write Program

Execution Step:
Esc
Press G
Enter-Enter
Program address
Enter
Press S
Enter
Any Key-2
Enter-2
Register name

Result: The maximum no. of given string have been executed in location 0510.

Aim: To study of 8253.

Apparatus required: 8086 kit, 8051 interfacing kit.


Theory:
Program steps
Result: the 8053 have studied.

Aim: - To study of 8251.

Apparatus required: 8086 kit, 8051 interfacing kit.

Theory:
Program steps
Result: the 8251 have been studied.

LIST OF EXPERIMENT
1. To study of microprocessor 8086.
2. To study of microcontroller 8051.
3. To write a program of 16 bit addition, subtraction, multiplication and
division.
4. To write a program for addition of two matrix (3X3) by
microprocessor 8086.
5. To find the sum of N-consecutive numbers with 8086 microprocessor.
6. To move content of array from one memory location to another
memory location.
7. To find the maximum no. in a given string (16 byte long) and store it
in location 0510.
8. To sort an array in ascending and descending order.
9. To study of 8253.
10 To study of 8251

You might also like