Anda di halaman 1dari 8

COMSATS-Lancaster Dual Degree Programme

CIIT, 1.5KM Defence Road, Off Raiwind Road, Lahore.

Name

Ahmed Daud

Registration Number :

CIIT/DDP-FA10-BTE-002/LHR

Email

daud@live.lancs.ac.uk

Semester

Section

DDP

Department

Electrical Engineering

Course Title

Microprocessor Systems & Interfacing

Course Code

EEE-342

Assignment Number :

Assignment Topic

Interfacing 8255 with 8088

Course Book

Intel Microprocessors by Barry B. Brey

Submission Date

May 21, 2013

Submitted To

Engr. Mr. Usman Rafique

1 | Page

TABLE OF CONTENTS
QUESTION #

PAGE #

Q#1

Q#2

References

QUESTION NO. 1 (A)


Interface a 3x4 matrix telephone keypad with 8088 CPU through 8255 PPI.
You must use group A of PPI I/O lines for interfacing with keypad. PPI is
interfaced with 8088 CPU in 16-bit I/O address from 8803H to 88F3H.

2 | Page

Show complete schematic diagram including all the glue logic* PPI
address decoding circuitry and keypad interfacing.

SOLUTION:
Interfacing of keypad with 8088 through
8255:

3 | Page

4 | Page

QUESTION NO. 1 (B)


With reference to the part A of Q1, write an assembly language program
that scans (reads) the keypad and writes the ASCII of the pressed key to
PORTB of PPI. Your program must be commented.

SOLUTION:
Interfacing of keypad with 8088 through
8255:
COLS EQU 3
ROWS EQU 4
PORTA EQU 50H
PORTB EQU 51H
MOV BL, FFH
SHL BL, ROWS
MOV AL, 0
OUT PORTB, AL

5 | Page

6 | Page

REFERENCES
The 8088 And 8086 Microprocessors: Programming, Interfacing, Software,
Hardware and Applications, 4/E by Triebel
The 80x86 IBM PC and compatible computers: Assembly language, design,
and interfacing by Muhammad Ali Mazidi, Janice Gillispie Mazidi
Assembly Language for Intel-Based Computers by Kip R. Irvine
The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386, 80486,
Pentium, Pentium Pro, and Pentium II Processors : Architecture, Programming,
and Interfacing by Barry B. Brey
Assembly language programming for the Intel 80XXX family by William B.
Giles
The 80x86 IBM PC and Compatible Computers (Vol 1 and Vol 2)
Microcomputer Systems: The 8086/8088 Family
Microprocessors : 8086/8088, 80186/80286, 80386/80486 And The Pentium
Family, 1/e by Nilesh B
The 80x86 family: design, programming, and interfacing by John E. Uffenbeck
8086 And 80286 Microprocessors: Hardware, Software, and Interfacing by
Avtar Singh, Walter A. Triebel
The 8086 Microprocessor: Programming and Interfacing by Kenneth J. Ayala
Microprocessor 8086 : Architecture, Programming and Interfacing by Sunil

Mathur
Logic and Computer Design Fundamentals by M. Morris Mano
Digital Design by Mano, Michael D. Ciletti
Online Materials
Intel Developers website http://developer.intel.com
AIX-86 (8086) Datasheet
www.google.com
www.wikipedia.com
http://ocw.mit.edu/
http://see.stanford.edu/
7 | Page

http://mycourses.med.harvard.edu/public/

8 | Page

Anda mungkin juga menyukai