0% found this document useful (0 votes)
53 views4 pages

Exp 6

The document describes two experiments using an 8086 microprocessor: 1. Write a program to sort an array of 16-bit signed binary numbers in ascending order. 2. Write a program to add two 2x2 matrices stored at locations MA and MB and store the result in location MC, with 16-bit unsigned elements. The document provides the aim, apparatus, an empty program template, and precautions for each experiment.

Uploaded by

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

Exp 6

The document describes two experiments using an 8086 microprocessor: 1. Write a program to sort an array of 16-bit signed binary numbers in ascending order. 2. Write a program to add two 2x2 matrices stored at locations MA and MB and store the result in location MC, with 16-bit unsigned elements. The document provides the aim, apparatus, an empty program template, and precautions for each experiment.

Uploaded by

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

EXPERIMENT NO.

AIM: WRITE A PROGRAM USING 8086 & VERIFY FOR:

6.1 Sort an array of 16 bit signed binary numbers so that they are arranged in
ascending order.

Process: Sort the signed numbers in the “ary”.


Input: N=count. Ary: list of numbers
Output: ordered numbers in “ary”

APPARATUS: 8086 microprocessor kit, 5V power supply, computer system

THEORY (Program):

MEMORY MACHINE
LABEL MNEMONICS OPERANDS COMMENTS
ADDRESS CODE

0000:

0000:

0000:

0000:

FLOW CHART:-
PROCEDURE:-

CODE

INPUT

OUTPUT

PRECAUTIONS:-
Make sure that all the machine codes should be as per specified in the program
AIM: WRITE A PROGRAM USING 8086 & VERIFY FOR:

6.2 Two matrices of size (2X2) are stored at MA and MB . Add the two matrices and store at
location MC. The elements are of 16bit unsigned value.

APPARATUS: 8086 microprocessor kit, 5V power supply, computer system

THEORY (Program):

MEMORY MACHINE
LABEL MNEMONICS OPERANDS COMMENTS
ADDRESS CODE

0000:

0000:

0000:

0000:

FLOW CHART:-

PROCEDURE:-
CODE

INPUT

OUTPUT

PRECAUTIONS:-
Make sure that all the machine codes should be as per specified in the program

You might also like