Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.

Slides:



Advertisements
Similar presentations
MICROPROCESSOR BASED SYSTEM DESIGN
Advertisements

IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Computer Architecture
Computer Organization, Bus Structure
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
I/O Organization popo.
INPUT-OUTPUT ORGANIZATION
Parul Polytechnic Institute
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
I/O Unit.
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Input-Output Problems L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Practical Session No. 10 Input &Output (I/O). I/O Devices Input/output (I/O) devices provide the means to interact with the “outside world”. An I/O device.
INPUT-OUTPUT ORGANIZATION
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
Memory and I/O Interfacing
Input/OUTPUT [I/O Module structure].
Software; Nature, Capabilities and Limitations: describe the need for interfacing with peripherals storage devices, input and output devices and display.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Computer Architecture
Computer Architecture
Fig 8-4 p-341. S 5 =IF flag (interrupt Enable). S 6 =0 always.
Input/Output. I/O Initiation & Control  Transfer of data between circuitry external to the microprocessor and the microprocessor itself.  Transfer of.
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
Basic I/O Interface A Course in Microprocessor
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Input-Output Organization
Modes of transfer in computer
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Architecture Lecture 6 by Engineer A. Lecturer Aymen Hasan AlAwady 1/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Basic I/O Interface Fixed Address Variable Address
Computer Architecture Lecture 5 by Engineer A. Lecturer Aymen Hasan AlAwady 25/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
IT3002 Computer Architecture
Khaled A. Al-Utaibi  I/O Ports  I/O Space VS Memory Space  80x86 I/O Instructions − Direct I/O Instructions − Indirect I/O Instructions.
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
I/O: Input-Output By: Tommy Zeng. What is I/O? I/O – short for “Input – Output” How a computer interacts with its users Input – gets information from.
8085 Microprocessor: Architecture & Support Components.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
B ASIC I NTERFACING C ONCEPTS ( CONT.) L ECTURE 2 Gunjeet Kaur Dronacharya Group of institutions.
Computer Organization and Design
Types of format of data transfer
Interfacing I/O Devices
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Computer Architecture
Kanwaljeet Singh, Lovely Professional University.
Interfacing Memory Interfacing.
I/O Interfacing CSE 2312 Maher Al-Khaiyat.
Architecture & Support Components
Prof. Nitin Ahire XIE, Mahim
Microprocessor I 7/18/2019.
Presentation transcript:

Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation 1 1

1. I/O Interfacing with 8085 The 8085 MPU needs to be interfaced with the I/O devices to get (in or out) the information from or to the “outside world”. There are two modes of I/O interfacing which are parallel I/O mode and serial I/O mode. 1. Parallel I/O mode uses all 8-bits data bus to connect the I/O device to the MPU (keyboard and display). 2. Serial mode used only one bit in serial I/O control (lecture 4) for interfacing such in cassette tape with MPU. 2

1.2 I/O Interfacing with 8085 In I/O parallel mode, the devices can be interfaced using two techniques: peripheral –mapped I/O and memory- mapped I/O. Peripheral Mapped I/O: interface I/O devices with 8085 MPU. I/O connect to “port number” within the 8-bit address range of 00H to FFH. The user access these devices using the IN and OUT instructions only. Memory-Mapped I/O: I/O devices using addresses from memory space ranges from 0000H –FFFFH. The exchange of data with I/O devices follows the transfer of data with memory. The user uses the same instructions used for memory. 3

1.2.2 Memory-Mapped I/O Example : You might wonder how the communication might work. Suppose you have a printer, and it has some status bits. These bits may reside at some memory address that the CPU "knows" is for the printer. Thus, to get information from the printer, you read a byte or a word from that address. That byte might tell you if the printer is printing, or is out of paper, or out of toner, or what kind of paper is being used, etc. 4

1.3 The interfacing of output devices Output devices are usually slow. Also, the output is usually expected to continue on the output device for a long period of time. On the other hand, the data on the data bus (inside MPU) will only be present for a very short period (microseconds). So, it has to be latched externally (using buffer). 5 PUNJAB EDUSAT SOCIETY (PES)

2. Fundamentals of I/O devices. 6 A tri-state buffer is used to connect the input device to the data bus The control (Enable) for the buffers is connected to the result of combining the address signal and the signal IORD.

2.1 Fundamentals of I/O devices. 7

2.3 I/O Interfacing with MPU separates memory from I/O, via software, ex: instruction like IN and, OUT for I/O interfacing and STA and LDA for memory. When these instructions decoded by the processor it generates appropriate control signals IO/M. In 8085 it is possible to connect 256 I/O ports (Can address 2 8 =256 locations) and 64Kb memory (Can address 2 16 =64k locations). 8

2.4 Memory Mapping Vs Peripheral I/O CharacteristicsMemory-mapped I/OPeripheral Mapped I/O 1. Device addressAddress is 16 bit ( A0- A15) Address is 8 bit (A0-A7) 2. Control signalsMEMR and MEWRIOR and IOW 3. InstructionsMemory related such as STA and LDA, LDAX, MOV M,R etc. IN and OUT 4. Data transferBetween registers and I/O devices Between accumulator and I/O devices 5. Maximum number of I/O 64 K shared between I/O and system memory. 256 input device and 256 output device. 6. Execution speed13 T-state (STA, and LDA) 7 T-state (MOV M,R) 10 T-state 7.Hardware requirements More hardware to decode 16.-bit address Less hardware to decode 8-bit address. 8. Other featuresArithmetic or logical operation can be performed with I/O data Not available. 9

10 End of lecture 8