SlideShare a Scribd company logo
Synchronous I/O : CPU waits till the I/O proceeds.
Asynchronous I/O : It executes cuncurrently with CPU execution.
Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices.
Memory-mapped I/O : They share the same address space with the memory. Devices are
connected directly to the main memory so that they can transfer block of data
Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or
write to memory without involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.
Polling I/O : It periodically checks the status of the device to check if the device performs any
further I/O operation.
Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on
the bus when it requires CPU’s attention.
Programmed I/O :
* It is used only in low end microcomputers.
* It has only single output and single input instruction.
* In this procees each instructions selects one I/O device and transfers a single character (byte).
Working:
I/O operation is requested by CPU.
Operation is performed by I/O module.
Status bits is being set by I/O module
Status bits are checked periodically by CPU.
CPU is not directly informed by I/O module.
CPU is not interrupted by I/O module.
CPU may wait or come back after some time.
Advantages :
It is easy to program and understand.
Disadvantages :
It has single input and single output instruction.
CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy
Waiting)
Interrupt-driven I/O
Advantages :
Fast and efficient
Disadvantages :
* Interrupting a running process is an expensive business (requires saving context).
* Requires extra hardware (DMA controller chip).
Working :
CPU is interupted bye the I/O module.
Data is requested by CPU.
The data is trasferres by I/O module.
DMA ensures that CPU grants I/O module authority to read from or write to memory without
involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.
Solution
Synchronous I/O : CPU waits till the I/O proceeds.
Asynchronous I/O : It executes cuncurrently with CPU execution.
Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices.
Memory-mapped I/O : They share the same address space with the memory. Devices are
connected directly to the main memory so that they can transfer block of data
Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or
write to memory without involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.
Polling I/O : It periodically checks the status of the device to check if the device performs any
further I/O operation.
Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on
the bus when it requires CPU’s attention.
Programmed I/O :
* It is used only in low end microcomputers.
* It has only single output and single input instruction.
* In this procees each instructions selects one I/O device and transfers a single character (byte).
Working:
I/O operation is requested by CPU.
Operation is performed by I/O module.
Status bits is being set by I/O module
Status bits are checked periodically by CPU.
CPU is not directly informed by I/O module.
CPU is not interrupted by I/O module.
CPU may wait or come back after some time.
Advantages :
It is easy to program and understand.
Disadvantages :
It has single input and single output instruction.
CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy
Waiting)
Interrupt-driven I/O
Advantages :
Fast and efficient
Disadvantages :
* Interrupting a running process is an expensive business (requires saving context).
* Requires extra hardware (DMA controller chip).
Working :
CPU is interupted bye the I/O module.
Data is requested by CPU.
The data is trasferres by I/O module.
DMA ensures that CPU grants I/O module authority to read from or write to memory without
involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.

More Related Content

PPTX
Hardware I/O organization
PDF
IO_ORGANIZATION.pdf
PPTX
Computer architecture input output organization
PPTX
ch-6 COAyjdhfzgsgfzjnfgbcxvbnfsxgcv.pptx
PPTX
PDF
discuss the drawbacks of programmed and interrupt driven io and des.pdf
PPTX
Input Output - Computer Architecture
PDF
Input-Output Modules
Hardware I/O organization
IO_ORGANIZATION.pdf
Computer architecture input output organization
ch-6 COAyjdhfzgsgfzjnfgbcxvbnfsxgcv.pptx
discuss the drawbacks of programmed and interrupt driven io and des.pdf
Input Output - Computer Architecture
Input-Output Modules

Similar to Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf (20)

PPTX
3 unit-DMA-1fjgigkhlhkbkbkvkvkvkvkvkgkvkvkvv.pptx
PPTX
IO Techniques in Computer Organization
PPTX
Computer architecture presentation
PPT
Modes Of Transfer in Input/Output Organization
PPTX
MODULE 5-1.computer organization and archit
PPTX
i_o updated.pptx 6=₹cnjxifj,lsbd ধ and vjcjcdbgjfu n smn u cut the lb, it ও o...
PPTX
Modes of data transfer.computer architecture.
PPTX
Input/Output System (Part 2)
PPTX
Lecture 9.pptx
PPT
Input output module
PPTX
Chapter 5 IO Unit.pptx we are electrical
PPTX
Input output in computer Orgranization and architecture
PPTX
Lecture 10 - Ch No. 7 Input and Output.pptx
PPT
COA chapter 5 finalcomputer organization and architecture course for engineer...
PPTX
Io techniques & its types
PPTX
This pot is about computer architecture.
PPTX
I/O Management
PDF
List of different types of InputOutput An input device that can .pdf
PDF
Unit 6
PPTX
IO SYSTEM AND CASE STUDY STRUCTURE
3 unit-DMA-1fjgigkhlhkbkbkvkvkvkvkvkgkvkvkvv.pptx
IO Techniques in Computer Organization
Computer architecture presentation
Modes Of Transfer in Input/Output Organization
MODULE 5-1.computer organization and archit
i_o updated.pptx 6=₹cnjxifj,lsbd ধ and vjcjcdbgjfu n smn u cut the lb, it ও o...
Modes of data transfer.computer architecture.
Input/Output System (Part 2)
Lecture 9.pptx
Input output module
Chapter 5 IO Unit.pptx we are electrical
Input output in computer Orgranization and architecture
Lecture 10 - Ch No. 7 Input and Output.pptx
COA chapter 5 finalcomputer organization and architecture course for engineer...
Io techniques & its types
This pot is about computer architecture.
I/O Management
List of different types of InputOutput An input device that can .pdf
Unit 6
IO SYSTEM AND CASE STUDY STRUCTURE
Ad

More from rdtraders2007 (20)

PDF
(7x14x)^12=(277x^2)^12=7x(2)^12Solution(7x14x)^12=(2.pdf
PDF
You can think of H as being heat energy added ( + ), or heat removed.pdf
PDF
wait, i am posting the solution.Solutionwait, i am posting the.pdf
PDF
There are many other contributing factors to the norms of culture th.pdf
PDF
Thermal dimorphism is the capacity to form different structures at d.pdf
PDF
The prime factor of 210=2357 Anyways, numbers can only be divid.pdf
PDF
The OSI Reference Model layers, in order from top to bottomD. Appl.pdf
PDF
SolutionSolutionSolution.pdf
PDF
slope = f(x) x= 12012= 10Solutionslope = f(x) x= 120.pdf
PDF
s(s^2-b^2)Solutions(s^2-b^2).pdf
PDF
Question not visible. Please update the question and then i can answ.pdf
PDF
Please find the required program along with the comments against eac.pdf
PDF
Order the steps of the viral life cycle.1. viral entry into host.pdf
PDF
Listing of the type of alleles present in an organisms cellGenotyp.pdf
PDF
An Operating System (OS) is an interface between a computer user and.pdf
PDF
Internal Evidence General.pdf
PDF
In reaction # 3 either the cis or trans diol may .pdf
PDF
Intermolecular forces exist between molecules and.pdf
PDF
H2 concentration will decrease and H2O concentrat.pdf
PDF
elemental form of sodium and hydrogen is very rea.pdf
(7x14x)^12=(277x^2)^12=7x(2)^12Solution(7x14x)^12=(2.pdf
You can think of H as being heat energy added ( + ), or heat removed.pdf
wait, i am posting the solution.Solutionwait, i am posting the.pdf
There are many other contributing factors to the norms of culture th.pdf
Thermal dimorphism is the capacity to form different structures at d.pdf
The prime factor of 210=2357 Anyways, numbers can only be divid.pdf
The OSI Reference Model layers, in order from top to bottomD. Appl.pdf
SolutionSolutionSolution.pdf
slope = f(x) x= 12012= 10Solutionslope = f(x) x= 120.pdf
s(s^2-b^2)Solutions(s^2-b^2).pdf
Question not visible. Please update the question and then i can answ.pdf
Please find the required program along with the comments against eac.pdf
Order the steps of the viral life cycle.1. viral entry into host.pdf
Listing of the type of alleles present in an organisms cellGenotyp.pdf
An Operating System (OS) is an interface between a computer user and.pdf
Internal Evidence General.pdf
In reaction # 3 either the cis or trans diol may .pdf
Intermolecular forces exist between molecules and.pdf
H2 concentration will decrease and H2O concentrat.pdf
elemental form of sodium and hydrogen is very rea.pdf
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Classroom Observation Tools for Teachers
PPTX
Lesson notes of climatology university.
PDF
Complications of Minimal Access Surgery at WLH
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
master seminar digital applications in india
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Sports Quiz easy sports quiz sports quiz
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
01-Introduction-to-Information-Management.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Cell Structure & Organelles in detailed.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
TR - Agricultural Crops Production NC III.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Classroom Observation Tools for Teachers
Lesson notes of climatology university.
Complications of Minimal Access Surgery at WLH
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
master seminar digital applications in india
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Sports Quiz easy sports quiz sports quiz
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Renaissance Architecture: A Journey from Faith to Humanism
human mycosis Human fungal infections are called human mycosis..pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharma ospi slides which help in ospi learning
01-Introduction-to-Information-Management.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf

Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf

  • 1. Synchronous I/O : CPU waits till the I/O proceeds. Asynchronous I/O : It executes cuncurrently with CPU execution. Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices. Memory-mapped I/O : They share the same address space with the memory. Devices are connected directly to the main memory so that they can transfer block of data Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers. Polling I/O : It periodically checks the status of the device to check if the device performs any further I/O operation. Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on the bus when it requires CPU’s attention. Programmed I/O : * It is used only in low end microcomputers. * It has only single output and single input instruction. * In this procees each instructions selects one I/O device and transfers a single character (byte). Working: I/O operation is requested by CPU. Operation is performed by I/O module. Status bits is being set by I/O module Status bits are checked periodically by CPU. CPU is not directly informed by I/O module. CPU is not interrupted by I/O module. CPU may wait or come back after some time. Advantages : It is easy to program and understand. Disadvantages : It has single input and single output instruction. CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy Waiting)
  • 2. Interrupt-driven I/O Advantages : Fast and efficient Disadvantages : * Interrupting a running process is an expensive business (requires saving context). * Requires extra hardware (DMA controller chip). Working : CPU is interupted bye the I/O module. Data is requested by CPU. The data is trasferres by I/O module. DMA ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers. Solution Synchronous I/O : CPU waits till the I/O proceeds. Asynchronous I/O : It executes cuncurrently with CPU execution. Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices. Memory-mapped I/O : They share the same address space with the memory. Devices are connected directly to the main memory so that they can transfer block of data Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers. Polling I/O : It periodically checks the status of the device to check if the device performs any further I/O operation. Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on the bus when it requires CPU’s attention. Programmed I/O :
  • 3. * It is used only in low end microcomputers. * It has only single output and single input instruction. * In this procees each instructions selects one I/O device and transfers a single character (byte). Working: I/O operation is requested by CPU. Operation is performed by I/O module. Status bits is being set by I/O module Status bits are checked periodically by CPU. CPU is not directly informed by I/O module. CPU is not interrupted by I/O module. CPU may wait or come back after some time. Advantages : It is easy to program and understand. Disadvantages : It has single input and single output instruction. CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy Waiting) Interrupt-driven I/O Advantages : Fast and efficient Disadvantages : * Interrupting a running process is an expensive business (requires saving context). * Requires extra hardware (DMA controller chip). Working : CPU is interupted bye the I/O module. Data is requested by CPU. The data is trasferres by I/O module. DMA ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers.