COMSATS Institute of Information Technology Lahore
COMSATS Institute of Information Technology Lahore
Instructor
Semester
Submission
Date
Cours
Credit
EEE342
e
Hours
Code
Program
BSTE
Course Title
Batc
h
SP13
Sectio
n
Date
Assignment 2
Instructions:
Follow the guidelines for assignment submission as given in course
hand book.
Add front title to the solution as described in the class room.
No solution shall be accepted after due date and time.
Question 1:
20 Marks
Interface 176KB SRAM with 8088 CPU. You are limited to use at least two 32KB SRAM
chip. Memory map starts from 40000H and above. You are required to provide:
i.
ii.
Question 2:
10 Marks
Interface two bidirectional ports with 8088 CPU. Port numbers for I/O ports are 97H
and 98H. Provide completely labelled schematics diagram of ports interfacing with
CPU.
Question 3:
10 Marks
Write an 8086-88 assembly language program that reads data from a 16-bit input
port. 16-bit word that is read from port is to be stored in SRAM such that lower byte of
16-bit word is written to even address and higher byte is written to odd address in
RAM. Program should read 256 words from input port and start saving them in RAM at
1225H:CC00H and above.
Page 1 of 1