Lecture-2 (Basic IO System Design)
Lecture-2 (Basic IO System Design)
Course Teacher:
Md. Obaidur Rahman, Ph.D.
Professor
Department of Computer Science and Engineering (CSE)
Dhaka University of Engineering & Technology (DUET), Gazipur.
Lecture Materials:
I/O System Design, Dr. Esam Al_Qaralleh, CE Department,
Princess Sumaya University for Technology.
COMPUTER ORGANISATION & ARCHITECTURE, Lecture-9
(Input-Output), Dr. Masri Ayob.
http://home.iae.nl/users/pouweha/lcd/lcd0.shtml
Address bus
4 CSE-4639: Peripherals, Interfacing and Embedded Systems
Islamic University of Technology (IUT)
Revision of Concepts !!
Overview of Micro-Computer Structure
A microcomputer has three basic blocks: a central
processing unit (CPU), a memory unit, and an
input/output (I/O) unit.
Disadvantage:
A portion of the memory system is used as the I/O
Mapping
Disadvantage:
Instructions IN and OUT need to be used to perform
data transfer.
Separate signals are also needed to interact with the I/O
devices which separate it from normal memory access
instructions.
IN AL, 80H
FFFF IN AX, 06H
OUT 3CH, AL
OUT A0H, AX
Accessing through DX
Accessed
through
IN AL, DX
00FF DX
IN AX, DX
Accessed OUT DX, AL
00F8
directly by OUT DX, AX
instructions
0000