0% found this document useful (0 votes)
112 views11 pages

Lab Session 09

This document provides instructions for using an MDA-8086 training kit. It includes the specifications of the kit, which contains an 8086 CPU, RAM, ROM, LCD display, and I/O ports. Users can enter machine code instructions on the kit to perform operations like moving data between registers and performing logic operations. Users are given examples of entering code to add, subtract, and perform AND/OR/NOT logic on register values and verifying the results.

Uploaded by

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

Lab Session 09

This document provides instructions for using an MDA-8086 training kit. It includes the specifications of the kit, which contains an 8086 CPU, RAM, ROM, LCD display, and I/O ports. Users can enter machine code instructions on the kit to perform operations like moving data between registers and performing logic operations. Users are given examples of entering code to add, subtract, and perform AND/OR/NOT logic on register values and verifying the results.

Uploaded by

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

Lab Session 9

Object
Introduction to MDA – 8086 Training Kit

Theory
INTRODUCTION:

MDA-8086 has high performance 64K-byte monitor program. It is designed for easy function.
After power is on the monitor begins to work. In addition to all the key function the monitor has
a memory checking routine.

The following is a simple description of the key functions.


FUNCTION OF KEYS:

TECHNICAL SPECIFICATIONS:

CPU 8086
Main RAM 64 KB (62256 x 2)
Monitor ROM 64 KB (27C256 x 2)
Display Unit LCD (16 x 2 Line)
I/O Port 8255A
Serial Port RS-232C (8251A x 1)
System Clock 4.9152 MHz
Clock Generator 8284
Interrupt Controller 8259
Level Meter 10 step
DOT Matrix 8 x 8 (3 Color)
Operation System Software 8086 Assembler
Keyboard 16 Key of data, 10 Key of function
System bus indicator LED (3Ø) x 12
System bus 62pin x 1
Expansion Connector
External Interface 20pin x 1
Step Motor Interface Driver T.R x 4
ADC : ADC 0804
A/D , D/A Converter
DAC : DAC 0800
Power 110V/220V
Board size(mm) 310 x 265
Wood case(mm) 100(H) x 300(D) x 430(W) ± 10(mm)

About MDA – 8086:


• MDA is a company name “Midas Engineering”.

• It is a trainer board of 8086 microprocessor having an IC on 8086 inside.

• It consists of an LCD screen, 16 data keys and 10 function keys.

• It has 2 RAM (2x32Kb) and 2 ROM (2x32Kb) included.

• It can be operated in two modes


o KIT MODE
o PC MODE
• It also includes a 7 segment, dot matrix, D/A, A/D, Level meter and stepping motor projects.

On a power up, following message will be displayed on LCD.

So as to use serial monitor, move jumper P1 which located on the PCB like this.

Whenever RES is pressed, the display becomes FIGURE 1-1 and user can operate keyboard only
in this situation.

Example1:SET THE CONTENTS IN MEMORY.


Sample Code
Perform the following operation on MDA – 8086.

 Set Segment and offset address 0000:1000


 Enter equivalent machine code of the following statements.
MOV AL , 3E
AND AL , 0F
NOP
Steps:

1. AD 0000
2. : 1000
3. DA B0 MOV AL , 3E
4. + 3E
5. + 24
6. + 0F AND AL , 0F
7. + 90 NOP
8. Press again : key and then set offset value which you set starting of the program.
9. STP
10. REG Show AX = Result

CALCULATION:

0011 1110 3E

& 0000 1111 0F

0000 1110 0E

RESULT:

After entering the above commands in the MDA – 8086, the following result was obtained:

AX = 0E

Which is the verification of the calculated answer!


Lab Tasks
QUESTION 1:
1. Move 0002 to AX, 0005 to BX and 0003 to CX.
2. Add the content of AX register with CX and store the result in CX.
3. Subtract the content of BX by CX.
4. Enter equivalent machine code of the above code.
5. Set again offset 0000:1000
6. Press STP and then REG
7. And verify result.
QUESTION 2:
1. Move 3E to AL.
2. Move 0F to BL.
3. AND AL and BL.
4. Then OR AL and BL.
5. Then NOT AL.
6. Enter equivalent machine code of the above code.
7. Set again offset 0000:1000
8. Press STP and then REG
9. And verify result.

You might also like