SlideShare a Scribd company logo
Prepared by
 Ankush Srivastava
anksri000@gmail.com
 A wide variety of IO devices having wide range
  of speed and other different characteristics are
  available .A slow responding IO device cannot
  transfer data when microprocessor issues
  instruction for it as it takes some time to get
  ready.
 Transfers rates of peripherals is usually slower
  than the transfer rates of CPU.
   Operating modes of peripheral are different
    from each other and each must be controlled
    so as not to disturb the operation of each
    other peripherals connected to CPU.
Different types of data transfer techniques are available
  which can be broadly divided into two categories:-



   MICROPROCESSOR CONTROLLED :- HERE data
    transfer is controlled by microprocessor.
    Microprocessor is primarily responsible for data transfer
    whether from I/o to the CPU or to the memory or vice
    versa .

   DEVICE CONTROLLED:- Here data transfer is
    controlled by IO device . Data is transferred in between
    IO device and memory without the intervention of CPU
    such a transfer increases rate of transfer and makes the
    system more efficient
Here data transfer is controlled by
 microprocessor. Microprocessor is primarily
 responsible for data transfer whether from
 I/o to the CPU or to the memory or vice
 versa. Microprocessor based scheme is
 further divided into two parts:-

 PROGRAMMED     DATA TRANSFER
 SCHEME
 INTERRUPT   CONTROL DATA TRANSFER
 SCHEME
   Program data transfer scheme is controlled
    by the CPU . Data are transferred from an IO
    device to the CPU or to the memory through
    CPU or vice versa under the control of
    programs which are stored in memory.
    These programs are executed by the CPU
    when an I/O device is ready to transfer
    data.
   The program data transfer schemes are
    employed when small amount of data are to
    be transferred.
Here also synchronous and asynchronous mode of
transfer is used.

Synchronous Data Transfer :-

Synchronous means ‘at the same time’. The device
Which sends data and the device which received data are
synchronised with the same clock. When the CPU and
IO devices match in speed, Synchronous Data Transfer
technique is employed.

The data transfer with IO devices is performed by executing IN
and OUT instruction. The IN instruction is used to read data
from an input device or input port. The OUT instruction is used
to sends data from CPU to the output device or output port. As
the CPU and the IO devices match in speed, the I/O device is
ready to transfer data when IN or OUT instruction is executes.
The status of the I/O device, whether it is ready or not, is not
examined before the data is transferred.
Asynchronous mode of transfer :-
Asynchronous means ‘at irregular intervals’. In this
method data transfer is not based on predetermined
timing pattern. This technique of data transfer is used
when the speed of an I/O device does not match
the speed of the microprocessor.

In this technique the status of the I/O device i.e.
whether the device is ready or not, is checked by the
microprocessor before the data are transferred. The
microprocessor initiates the I/O device to get ready
and then continuously checks the status of I/O device
till the I/O device becomes ready to transfer data.
When I/O device becomes ready, the microprocessor
executes instruction to transfer data.
   This mode of data transfer is also called
    handshaking mode of data transfer
    because some signals are exchanged between
    microprocessor and I/O devices before the
    actual data transfer takes place. Such signals
    are called handshake signals.
   The microprocessor is too busy.
 The    CPU is wasting time while checking the
    flag instead of doing some useful work.
The problem with programmed I/O is that
    CPU has to wait along time for the I/O
    device to be ready for reception or
    transmission of data .The CPU while
    waiting, must repeatedly interrogate the
    status of the I/O device . As a result the
    level of the performance of the entire
    system is severely degraded.
   An alternative is interrupt driven IO
    data transfer.
   In this scheme when the I/O device becomes ready
    to transfer data, it sends a high signal to the
    microprocessor through a special input line called
    an interrupt line. In other words it interrupts the
    normal processing sequence of the microprocessor.
    On receiving interrupt the microprocessor
    completes the current instruction, saves the
    contents of the program counter on stack first and
    then attends the I/O devices. It take up a
    subroutine called ISS (Interrupt Service Subroutine).
    It execute ISS to transfer data from or to the I/O
    device. Different ISS are to be provided for different
    IO devices. After completing the data transfer the
    microprocessor returns back to the main program
    which it was executing before the interrupt
    occurred.
 The  normal operation of the microprocessor
  is interrupted.
 Itneed to continues monitoring for interrupt
  signals.
   The transfer of data between the mass
    storage device and a system memory is often
    limited by the speed of microprocessor.
    Removing the microprocessor during such a
    transfer and letting the peripheral manage
    the transfer to or from memory would
    improve the speed of transfer and hence will
    make the system more efficient. This transfer
    technique is called DMA Data Transfer.
   During DMA transfer microprocessor is idle,
    so it has no longer control on the system
    buses. A DMA Controller takes over the buses
    and manage the transfer directly between the
    peripheral and the memory
. It is fastest scheme then
Programmed Data
Transfer Scheme and the
microprocessor regains
the control of buses after
data transfer
Data transferschemes

More Related Content

What's hot

Input output organization
Input output organizationInput output organization
Input output organizationabdulugc
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
Zubair Khalid
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controllerTech_MX
 
8251 USART
8251 USART8251 USART
8251 USART
coolsdhanesh
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
Shah Ishtiyaq Mehfooze
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
Hetauda City College
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
Mazin Alwaaly
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
Page Maker
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
UshaRani289
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
Jismy .K.Jose
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
saurav kumar
 
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
priya Nithya
 
Cache memory
Cache memoryCache memory
Cache memory
Ansari Maviya
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 
Presentation1
Presentation1Presentation1
Presentation1
Haya Saani
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Stack organization
Stack organizationStack organization
Stack organization
chauhankapil
 
8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 

What's hot (20)

Input output organization
Input output organizationInput output organization
Input output organization
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
8251 USART
8251 USART8251 USART
8251 USART
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
 
Cache memory
Cache memoryCache memory
Cache memory
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Presentation1
Presentation1Presentation1
Presentation1
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Stack organization
Stack organizationStack organization
Stack organization
 
8251 USART
8251 USART8251 USART
8251 USART
 

Similar to Data transferschemes

Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085
ShivamSood22
 
Data transfer system
Data transfer systemData transfer system
Data transfer system
Sajan Sahu
 
Microprocessor_IO Interfacing.ppt
Microprocessor_IO Interfacing.pptMicroprocessor_IO Interfacing.ppt
Microprocessor_IO Interfacing.ppt
Pratheep Ganesan
 
Introduction to Interfacing Technique
Introduction to Interfacing TechniqueIntroduction to Interfacing Technique
Introduction to Interfacing Technique
Mabeth MaRiyah Ramos
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
EliasPetros
 
INTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptxINTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptx
NidaKhan232565
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
MOHIT AGARWAL
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
MeenakshiR43
 
MODES OF TRANSFER.pptx
MODES OF TRANSFER.pptxMODES OF TRANSFER.pptx
MODES OF TRANSFER.pptx
22X047SHRISANJAYM
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer scheme
kaavyabalachandran
 
modes of transfer computer architecture.
modes of transfer computer architecture.modes of transfer computer architecture.
modes of transfer computer architecture.
RaviRanjanThr
 
A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...
rsaravanakumar13
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
Muhammad Hamza
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
Manoharan Ragavan
 
Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture.
pratikkadam78
 
Computer Organisation (DFT1113)
Computer Organisation (DFT1113)Computer Organisation (DFT1113)
Computer Organisation (DFT1113)
PSMZA
 
Unit-4 (IO Interface).pptx
Unit-4 (IO Interface).pptxUnit-4 (IO Interface).pptx
Unit-4 (IO Interface).pptx
Medicaps University
 
Lecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdfLecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdf
Taufeeq8
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
JavedIqbal549896
 

Similar to Data transferschemes (20)

Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085
 
Data transfer system
Data transfer systemData transfer system
Data transfer system
 
Microprocessor_IO Interfacing.ppt
Microprocessor_IO Interfacing.pptMicroprocessor_IO Interfacing.ppt
Microprocessor_IO Interfacing.ppt
 
Introduction to Interfacing Technique
Introduction to Interfacing TechniqueIntroduction to Interfacing Technique
Introduction to Interfacing Technique
 
Unit3 input
Unit3 inputUnit3 input
Unit3 input
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
 
INTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptxINTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptx
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
 
MODES OF TRANSFER.pptx
MODES OF TRANSFER.pptxMODES OF TRANSFER.pptx
MODES OF TRANSFER.pptx
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer scheme
 
modes of transfer computer architecture.
modes of transfer computer architecture.modes of transfer computer architecture.
modes of transfer computer architecture.
 
A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
 
Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture.
 
Computer Organisation (DFT1113)
Computer Organisation (DFT1113)Computer Organisation (DFT1113)
Computer Organisation (DFT1113)
 
Unit-4 (IO Interface).pptx
Unit-4 (IO Interface).pptxUnit-4 (IO Interface).pptx
Unit-4 (IO Interface).pptx
 
Lecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdfLecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdf
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 

More from Ankush Srivastava

Land Mine Detection and Image Processing
Land Mine Detection and Image ProcessingLand Mine Detection and Image Processing
Land Mine Detection and Image ProcessingAnkush Srivastava
 
Comparative study of Salt & Pepper filters and Gaussian filters
Comparative study of Salt & Pepper filters and Gaussian filtersComparative study of Salt & Pepper filters and Gaussian filters
Comparative study of Salt & Pepper filters and Gaussian filtersAnkush Srivastava
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer ArchitectureAnkush Srivastava
 
Creating an executable jar file
Creating an executable jar fileCreating an executable jar file
Creating an executable jar fileAnkush Srivastava
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper NoiseAnkush Srivastava
 
Neurons
NeuronsNeurons
Search Engine
Search EngineSearch Engine
Search Engine
Ankush Srivastava
 

More from Ankush Srivastava (12)

Land Mine Detection and Image Processing
Land Mine Detection and Image ProcessingLand Mine Detection and Image Processing
Land Mine Detection and Image Processing
 
Comparative study of Salt & Pepper filters and Gaussian filters
Comparative study of Salt & Pepper filters and Gaussian filtersComparative study of Salt & Pepper filters and Gaussian filters
Comparative study of Salt & Pepper filters and Gaussian filters
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer Architecture
 
Pin 8085
Pin 8085Pin 8085
Pin 8085
 
Html
HtmlHtml
Html
 
Creating an executable jar file
Creating an executable jar fileCreating an executable jar file
Creating an executable jar file
 
Introduction to Multimedia
Introduction to MultimediaIntroduction to Multimedia
Introduction to Multimedia
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
 
Neurons
NeuronsNeurons
Neurons
 
Search Engine
Search EngineSearch Engine
Search Engine
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 

Recently uploaded (20)

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 

Data transferschemes

  • 1. Prepared by Ankush Srivastava anksri000@gmail.com
  • 2.  A wide variety of IO devices having wide range of speed and other different characteristics are available .A slow responding IO device cannot transfer data when microprocessor issues instruction for it as it takes some time to get ready.  Transfers rates of peripherals is usually slower than the transfer rates of CPU.  Operating modes of peripheral are different from each other and each must be controlled so as not to disturb the operation of each other peripherals connected to CPU.
  • 3. Different types of data transfer techniques are available which can be broadly divided into two categories:-  MICROPROCESSOR CONTROLLED :- HERE data transfer is controlled by microprocessor. Microprocessor is primarily responsible for data transfer whether from I/o to the CPU or to the memory or vice versa .  DEVICE CONTROLLED:- Here data transfer is controlled by IO device . Data is transferred in between IO device and memory without the intervention of CPU such a transfer increases rate of transfer and makes the system more efficient
  • 4. Here data transfer is controlled by microprocessor. Microprocessor is primarily responsible for data transfer whether from I/o to the CPU or to the memory or vice versa. Microprocessor based scheme is further divided into two parts:-  PROGRAMMED DATA TRANSFER SCHEME  INTERRUPT CONTROL DATA TRANSFER SCHEME
  • 5. Program data transfer scheme is controlled by the CPU . Data are transferred from an IO device to the CPU or to the memory through CPU or vice versa under the control of programs which are stored in memory. These programs are executed by the CPU when an I/O device is ready to transfer data.  The program data transfer schemes are employed when small amount of data are to be transferred.
  • 6.
  • 7. Here also synchronous and asynchronous mode of transfer is used. Synchronous Data Transfer :- Synchronous means ‘at the same time’. The device Which sends data and the device which received data are synchronised with the same clock. When the CPU and IO devices match in speed, Synchronous Data Transfer technique is employed. The data transfer with IO devices is performed by executing IN and OUT instruction. The IN instruction is used to read data from an input device or input port. The OUT instruction is used to sends data from CPU to the output device or output port. As the CPU and the IO devices match in speed, the I/O device is ready to transfer data when IN or OUT instruction is executes. The status of the I/O device, whether it is ready or not, is not examined before the data is transferred.
  • 8. Asynchronous mode of transfer :- Asynchronous means ‘at irregular intervals’. In this method data transfer is not based on predetermined timing pattern. This technique of data transfer is used when the speed of an I/O device does not match the speed of the microprocessor. In this technique the status of the I/O device i.e. whether the device is ready or not, is checked by the microprocessor before the data are transferred. The microprocessor initiates the I/O device to get ready and then continuously checks the status of I/O device till the I/O device becomes ready to transfer data. When I/O device becomes ready, the microprocessor executes instruction to transfer data.
  • 9. This mode of data transfer is also called handshaking mode of data transfer because some signals are exchanged between microprocessor and I/O devices before the actual data transfer takes place. Such signals are called handshake signals.
  • 10. The microprocessor is too busy.  The CPU is wasting time while checking the flag instead of doing some useful work.
  • 11. The problem with programmed I/O is that CPU has to wait along time for the I/O device to be ready for reception or transmission of data .The CPU while waiting, must repeatedly interrogate the status of the I/O device . As a result the level of the performance of the entire system is severely degraded.  An alternative is interrupt driven IO data transfer.
  • 12. In this scheme when the I/O device becomes ready to transfer data, it sends a high signal to the microprocessor through a special input line called an interrupt line. In other words it interrupts the normal processing sequence of the microprocessor. On receiving interrupt the microprocessor completes the current instruction, saves the contents of the program counter on stack first and then attends the I/O devices. It take up a subroutine called ISS (Interrupt Service Subroutine). It execute ISS to transfer data from or to the I/O device. Different ISS are to be provided for different IO devices. After completing the data transfer the microprocessor returns back to the main program which it was executing before the interrupt occurred.
  • 13.
  • 14.  The normal operation of the microprocessor is interrupted.  Itneed to continues monitoring for interrupt signals.
  • 15. The transfer of data between the mass storage device and a system memory is often limited by the speed of microprocessor. Removing the microprocessor during such a transfer and letting the peripheral manage the transfer to or from memory would improve the speed of transfer and hence will make the system more efficient. This transfer technique is called DMA Data Transfer.
  • 16. During DMA transfer microprocessor is idle, so it has no longer control on the system buses. A DMA Controller takes over the buses and manage the transfer directly between the peripheral and the memory
  • 17.
  • 18. . It is fastest scheme then Programmed Data Transfer Scheme and the microprocessor regains the control of buses after data transfer