Professional Documents
Culture Documents
Fadi Abu-Amara
College of Engineering Eng. Huda Saqallah
Department of Computer Engineering
Computer Interfacing and Peripherals
Lab
Student Name: Student Number:
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.
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.
3. Procedures
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