0% found this document useful (0 votes)
618 views5 pages

Peripheral and Interfacing Lab Report 530202

The document describes 5 experiments using an 8086 microprocessor trainer board to write and execute machine language programs that perform mathematical operations. Each experiment involves setting the trainer board to 5V, selecting the mode, resetting, writing machine code using the keyboard to solve an expression like X=A+B, and displaying the result on the LCD. The machine code and assembly code are provided for moving data between registers, performing addition/subtraction, and outputting the result.

Uploaded by

Foodie. Com
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)
618 views5 pages

Peripheral and Interfacing Lab Report 530202

The document describes 5 experiments using an 8086 microprocessor trainer board to write and execute machine language programs that perform mathematical operations. Each experiment involves setting the trainer board to 5V, selecting the mode, resetting, writing machine code using the keyboard to solve an expression like X=A+B, and displaying the result on the LCD. The machine code and assembly code are provided for moving data between registers, performing addition/subtraction, and outputting the result.

Uploaded by

Foodie. Com
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/ 5

EXPERIMENT NO : 01

EXPERIMENT NAME :

Write and execute a machine language program in MTS86 trainer board


to solve the mathematical expression X = A+B where A = 04 and B = A7.

PROCEDURE:

1. Set the 8086 microprocessor trainer in 5V.


2. Set the select mode of 8086 microprocessor trainer like this »

KIT PC

3. Push the reset button in trainer board.


4. Write the appropriate machine code using keyboard.
5. Show result of program in LCD display.

ASSEMBLY CODE : MACHINE CODE :

MOV AL, 04 DA
ADD AL, A7 B0 04
MOV DL, AL CC
MOV AH, 2 STP
INT 21H GO
REG
DA
04 A7
CC
STP
GO
REG
EXPERIMENT NO : 02

EXPERIMENT NAME :

Write and execute a machine language program in MTS86 trainer board


to solve the mathematical expression X = A+B where A = AF and B = 0F.

PROCEDURE:

1. Set the 8086 microprocessor trainer in 5V.


2. Set the select mode of 8086 microprocessor trainer like this »

KIT PC

3. Push the reset button in trainer board.


4. Write the appropriate machine code using keyboard.
5. Show result of program in LCD display.

ASSEMBLY CODE : MACHINE CODE :

MOV AL, AF DA
ADD AL, 0F B0 AF
MOV DL, AL CC
MOV AH, 2 STP
INT 21H GO
REG
DA
04 0F
CC
STP
GO
REG
EXPERIMENT NO : 03

EXPERIMENT NAME :

Write and execute a machine language program in MTS86 trainer board


to solve the mathematical expression X = A+B where A = 96 and B = 48.

PROCEDURE:

1. Set the 8086 microprocessor trainer in 5V.


2. Set the select mode of 8086 microprocessor trainer like this »

KIT PC

3. Push the reset button in trainer board.


4. Write the appropriate machine code using keyboard.
5. Show result of program in LCD display.

ASSEMBLY CODE : MACHINE CODE :

MOV AL, 96 DA
ADD AL, 48 B0 96
MOV DL, AL CC
MOV AH, 2 STP
INT 21H GO
REG
DA
04 48
CC
STP
GO
REG
EXPERIMENT NO : 04

EXPERIMENT NAME :

Write and execute a machine language program in MTS86 trainer board


to solve the mathematical expression X = A-B where A = A3 and B = 5F.

PROCEDURE:

1. Set the 8086 microprocessor trainer in 5V.


2. Set the select mode of 8086 microprocessor trainer like this »

KIT PC

3. Push the reset button in trainer board.


4. Write the appropriate machine code using keyboard.
5. Show result of program in LCD display.

ASSEMBLY CODE : MACHINE CODE :

MOV AL, A3 DA
SUB AL, 5F B0 A3
MOV DL, AL CC
MOV AH, 2 STP
INT 21H GO
REG
DA
2C 5F
CC
STP
GO
REG
EXPERIMENT NO : 05

EXPERIMENT NAME :

Write and execute a machine language program in MTS86 trainer board


to solve the mathematical expression X = A-B where A = F9 and B = EA.

PROCEDURE:

1. Set the 8086 microprocessor trainer in 5V.


2. Set the select mode of 8086 microprocessor trainer like this »

KIT PC

3. Push the reset button in trainer board.


4. Write the appropriate machine code using keyboard.
5. Show result of program in LCD display.

ASSEMBLY CODE : MACHINE CODE :

MOV AL, F9 DA
SUB AL, EA B0 F9
MOV DL, AL CC
MOV AH, 2 STP
INT 21H GO
REG
DA
2C EA
CC
STP
GO
REG

You might also like