You are on page 1of 3

AL-Hussein Bin Talal University Dr.

Fadi Abu-Amara
College of Engineering Eng. Huda Saqallah
Department of Computer Engineering
Computer Interfacing and Peripherals
Lab
Student Name: Student Number:

Lab 0: MTS-86C Equipment Familiarization

1. Objectives
The objective of this lab is to familiarize the students with the microprocessor trainer
and loading simple Assembly programs in the kit.

2. Introduction
The peripherals lab performs several experiments on the 8086 kit MTS-86C. This kit
has I/O facility and built-in with different interfacing devices such as 8255, 8251,
8259, 8253, 8254, etc as shown in the following figure.

Figure1: The MTS-86C 8086 Microprocessor kit.

2.1 Specifications
CPU: 8086
Display Unit: LCD (16x2 Line)
Main RAM: 64KB
Monitor ROM: 64KB
User Memory: 64KB
I/O: ADC 0809 (8BIT x 8Channel), DAC 0808 (8BIT x 1Channel), 8255, Interrupt
Controller-8259, Timer/Counter Controller-8253, Keyboard/Display Controller-8279,
Serial Port-8251, 24 Keyboard.
2.2. Connecting MTS-86C to PC
1. Go to start program files accessories communications Hyper
Terminal.
2. Select COM1 as port.
3. Click ok tab. Set bit rate to be 19200.
4. Mark flow control as (Xon/Xoff).
5. Press any key (between A-F) to make a communication between MTS-86C
and PC.

2.3. Writing Code and Producing hex file


1. Write your code in a notepad file with necessary instructions.
2. Save the file with the extension .asm (for example p1.asm).
3. Go to command prompt window. Type: v p1
4. You can observe that execution has begun. Give bin file name as p1.bin.
5. Press Enter when asked for address.
6. Your hex file is created.

2.4. Loading the hex file in MTS-86C


1. Press L in hyper-terminal window.
2. Click to transfer tab in upper right corner. Select send text file.
3. Select your hex file.
4. Type g (Go) and press enter.
5. Your program has been executed.
6. Press R to see register values.

3. Procedures

1. Write following codes and perform indicated operations.


MOV SI,2010H
MOV AX,30h
MOV [SI],AX
MOV BX,[SI]
What the contents of BX register:
What operation happened here:

MOV AL,87h
NEG AL
NEG AL
Write value of AL for every step

MOV AX,1456H
MOV BX,5898H
MUL BX
Find the contents of AX and DX:

MOV AX,5327H
MOV BX,15F2H
DIV BX
Find the contents of AX and DX:

Page 2 of 3
2. Write an assembly program for the following operation and verify it in EMU 8086
software.
x = 30D
y = 50D
z=x+y
w = z*y
x = w – 20D
y = x/5
u = x%5

3. Write an assembly code that will store 1265H to memory location 2100H and
4512H in memory location 1287H. Access these values via registers and perform
subtraction operation.

Page 3 of 3

You might also like