0% found this document useful (0 votes)
706 views7 pages

I. Experiment Environment: King Faisal University College of Engineering Department of Electrical Engineering

The document provides instructions for an experiment using an MDA-8086 training kit connected to a PC. The objectives are to learn how to use the MDA-8086 kit and familiarize with its operations. The procedure involves connecting the kit to the PC, launching software, resetting the kit, completing experimental tasks like checking memory locations, and submitting a conclusion. The kit contains components like an LCD, LEDs, and inputs. The software allows assembling, compiling and running programs, with features like an editor, terminal and memory dump windows.

Uploaded by

Ab A Zafer
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)
706 views7 pages

I. Experiment Environment: King Faisal University College of Engineering Department of Electrical Engineering

The document provides instructions for an experiment using an MDA-8086 training kit connected to a PC. The objectives are to learn how to use the MDA-8086 kit and familiarize with its operations. The procedure involves connecting the kit to the PC, launching software, resetting the kit, completing experimental tasks like checking memory locations, and submitting a conclusion. The kit contains components like an LCD, LEDs, and inputs. The software allows assembling, compiling and running programs, with features like an editor, terminal and memory dump windows.

Uploaded by

Ab A Zafer
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/ 7

King Faisal University

College of Engineering
Department of Electrical Engineering

I. EXPERIMENT ENVIRONMENT
You will be using a training kit (MDA-8086) connected to a PC. All the needed application
software are stored locally on drive c: which is the system drive. All personal files should be
stored on the desktop inside a folder holding your name. You will be working entirely in the
Microsoft Windows environment. You will use 'MDA_Win IDE8086' software icon as a tool
to connect with MDA-8086 kit and start working with the 8086 Microprocessor.

Fig.1: MDA8086 Kit Package


II.

II. MAIN OBJECTIVE


The purpose of this experiment is to learn how to use the MDA-Win8086 training kit and to
familiarize with its various operations that can be helpful in using and programming the
Microprocessor.

III. EXPERIMENT PROCEDURE


The working procedure (methodology) throughout this experiment consists of the following
steps:
1. Start by reading the experiment environment, main objective and procedure.
2. Connect PC and MDA-Win 8086 Microprocessor Kit using the Data cable provided.
3. Switch 'ON' the MDA-Win 8086 Microprocessor Kit and the Computer, and go to Local
Disk C: of the PC and Open the MDA folder and double click the ' MDA_Win IDE8086 '
Icon and start the MDA- Win 8086 Software Tool.
4. 'Reset' MDA-Win 8086 Microprocessor Kit by pressing the RESET button provided on the
kit.
5. Follow up with the Experimental work step by step until you finish the required tasks. Also,
solve the required exercises and make your final conclusions about the experiment.
6. Finally, you should submit your technical lab report for this experiment and the reports will
be submitted by each group before the deadline specified by the instructor (In this lab
report, you are only requested to write a conclusions section, in addition to solving the
experimental work tasks as well as the exercises).

Fig.2: MDA-Win8086 System Configuration


IV. EXPERIMENTAL WORK
1. Discovering the Kit
Using the knowledge learned about I8086 MP, MDA-8086 Kit & User manual, answer the
following questions:
1- On a power-up, what is the message displayed on a LCD? And what If you press the
RESET key for the KIT?
We got MAD8086 kit V9.5 on the message displayed on a LCD.

1
2- What are the modes of operation for the KIT? How to switch between modes? How to
verify that the required mode is ON?
8086 is designed to operate in two modes Minimum and Maximum mode.
MN/MX¯ is 1 to indicate minimum mode.
And, if MN/MX¯ is 0 to indicate maximum mode.
3- What type of data cable is used to connect MDA-8086 to the PC?
Connect the MDA-Win8086 Kit to a spare serial port on your PC.

4- How many LEDs are there in the Kit? What are their purposes?

5- List 4 output devices that are provided in this KIT.


LCD display, 7 segment display, dot matrix ,and level meter.

6- List 2 Input methods that can be used to instruct the 8086 Microprocessor.
Direct input & variable input.

7- List 3 applications that are provided with the MDA-8086 KIT.


…………………………………………………………………………….………………..........

8- What type of interfaces are used to communicate between the DOT MATRIX LED and
INTEL 8086 MP?
The type of interface that is used to communicate between Dot-Matrix LED display and 8086
microprocessor is 8255 PPI.

9- How many pins does INTEL 8086 have?


There are 40 pins.

10- How many address pins are in the address bus of Intel 8086? What are the pins'
numbers in Intel 8086?
There are 20 address bus. The numbers of pins is from AD0 to AD15+A16 to A19.

11- How many data pins are in the data bus for Intel 8086. What are the pins' numbers in
Intel 8086?
There are 16 data bus. The numbers of pins is from AD0 to AD15.

12- Why does we say that the data and address bus for Intel 8086 are multiplexed?

The data bus is multiplexed with the address bus in order to fit all of the control lines into a
standard 40-pin dual in-line package.

13- List 5 control pins (signals) for Intel 8086.

ALE, RD, WR, BHE, and READY.

1
14- How many pins in 8086 are ground pins? Vcc Pins? What are the pins' numbers in 8086
MP.
There are 2 ground pins at 1 and 20. There is one VCC pin which is pin number 40.

15- How many hexadecimal digits are used to locate an address in the Memory? An address
for I/O Port?

5 hex digits are needed.

16- What are the roles of RAM and ROM?

RAM gives applications a place to store and access data on a short-term basis.


ROM is used to store the start-up instructions for a computer.

2. Using the kit:


Using MDA-8086 Kit, Keypad & User manual, answer the following tasks:

1- Select the KIT mode from SELECT MODE Switch, Press RESET key. What
happened to the LCD?
It displayed “MDA-8086 Kit V9.5”.

2- Check the contents of memory locations 01000, 01001, 01002, 01003. List the keys
used to accomplish this task in order. What is the data stored in these locations?

Seg offset data


0000:1000 55 Keys used in order (RES, AD, and:).
0000:1001 55 Keys used in order (RES, AD,: , and +).
0000:1002 AA Keys used in order (RES, AD, : , + , and + ).
0000:1003 2A Keys used in order (RES, AD , : , + , + , and + ).

1
3- Store the following data into corresponding memory locations. List the keys used to
accomplish this task in order. Address Data
01003 34
01002 EF
01001 CD
The keys used (AD,:,+,+,+,DA ,3,4 ,… ). 01000 12

4- Press RESET key, then re-check the contents of memory locations 01000, 01001,
01002, 01003. Explain.
The values we entered in the previous question was stored.

5- Check the contents of the registers for Intel 8086. List the keys used to accomplish this task
in order. What is the data stored in this location?

AX = 0000 BX = 0000
CX = 0000 DX = 0000
BP= 0000 SI = 0000
DI= 0000 DS=0000
ES= 0000 SS= 0000
CS =0000 FL=0000
SP=0540 IP=1000
Keys used in order ( REG , +,+,+)
6- Explain the purpose for the first four registers you checked in the previous part.

AX - accumulator, and preferred for most operations.


BX - base register, typically used to hold the address of a procedure or variable.
CX - count register, typically used for looping.
DX - data register, typically used for multiplication and division.

1
3. WinIDE 8086 Software
Using MDA-WinIDE8086 software and MDA-8086 user manual, answer the following
questions:

1- Now, In order to use MDA-Win IDE8086 program correctly with the KIT, we should
select the PC mode from SELECT MODE Switch. Why?
In order to give the access to program the kit using the computer.

2- After launching the program, there are 2 windows: editor window and Terminal
window. What is the purpose for each window?
Editor window: Source file is displayed in the editor window. The MDA-WinIDE8086 editor
automatically recognizes the syntax of C program and Assemble program.

Terminal window: is that you can use to connect the MDA-Win8086 k

3- What is the difference between the buttons: ?


AL: Assemble and link a source file that you are editing.
CL: Compile and link a source file that you are editing.
4- After connecting MDA-Win 8086 Kit to the PC through the provided data cable. How to
check that it is connected correctly? How can we change the correct configurations for the
connections?
From the terminal window it shows this message(8086 monitor 9.5) after we press “reset”

computer management device manager ports (COM & LPT)  port settings 
advanced  COM port number

5- What is the difference between: Run and Trace buttons?

Trace: execute one instruction.

Run: The program will be executed.

1
6- What is the procedure used to execute any program in MDA-Win IDE 8086? (list in order)

1-write codes
2-Use RUN or TRACE to Execute any program.
7- Now apply the help command by typing ? to the terminal window. Explain the purpose of
this command.

Th purpose is to help us when we faced problems by give us some guidelines and instructions.

8- Use the Memory dump window to show the contents of 10 consecutive memory locations
starting from 01000. How to perform this? What are the contents?

After click memory dump bottom, fill the segment 0000 , offset 1000 ,and length 10
The contents are 0000:1000 12 34 12 34 12 34 12 34 – 12 34 12 34 12 34 12 34 .4.4.4.4.4.4.4
9- Use Data fill window to store the value 1234 into of 10 consecutive memory locations
starting from 01000 with the data. How to perform this? What is the new contents?
After click Fill Data bottom, fill the segment 0000, offset 1000 ,length 10, and data to 1234.
The new content is 0000:1000 0010 1234.
10- In the terminal window; use the command R ( ) to display Intel 8086 MP
registers. What if we want to display the contents of IP register only?

AX=1234 BX=4567 CX=7788 DX=1111


SP=0540 BP=0000 SI=0000 DI=0000
DS=0000 ES=0000 SS=0000 CS=0000
IP=1000 FL=0000

If we want to display the contents of IP register only by typing R IP then ENTER.


11- Change the contents of AX, BX, CX, DX, and SP to: 1234, 4567, 7788, 1111, and
0540 respectively. Then reuse the R command to show the new contents.

V. EXPERIMENT
EXCERCISES
Explain (with examples) how 8086 convert logical addresses to physical addresses.

Logical address is expressed as the location relative to the beginning of the program. It is
defined by the user of the microprocessor no need for calculation.
Physical address is defined as the actual location of the process in the main memory it is
allocated by the CPU.
Physical address = base address * 10h + offset address
For example:
The physical address of 7A32: 0028H is
7A32 * 10h = 7A320
7A320 + 0028 = 7A348 the physical address is 7A348.

You might also like