尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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

8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Computer system bus
Computer system busComputer system bus
Computer system bus
Goran W. Hama Ali
 
Input output organization
Input output organizationInput output organization
Input output organization
abdulugc
 
Interrupts of microprocessor 8085
Interrupts of microprocessor  8085Interrupts of microprocessor  8085
Interrupts of microprocessor 8085
mujeebkhanelectronic
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
shubham kuwar
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Kamal Acharya
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
SARITHA REDDY
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
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
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
SharmilaChidaravalli
 
8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
saurav kumar
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
Sandesh Jonchhe
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
Andhra University
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
SAQUIB AHMAD
 

What's hot (20)

8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Computer system bus
Computer system busComputer system bus
Computer system bus
 
Input output organization
Input output organizationInput output organization
Input output organization
 
Interrupts of microprocessor 8085
Interrupts of microprocessor  8085Interrupts of microprocessor  8085
Interrupts of microprocessor 8085
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
8251 USART
8251 USART8251 USART
8251 USART
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 

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
 
Unit3 input
Unit3 inputUnit3 input
Unit3 input
Ashim Saha
 
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 - 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
 
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
 
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 - 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...
 
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
 
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 Processing
Ankush 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 filters
Ankush Srivastava
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
Ankush Srivastava
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
Ankush Srivastava
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer Architecture
Ankush Srivastava
 
Pin 8085
Pin 8085Pin 8085
Html
HtmlHtml
Creating an executable jar file
Creating an executable jar fileCreating an executable jar file
Creating an executable jar file
Ankush Srivastava
 
Introduction to Multimedia
Introduction to MultimediaIntroduction to Multimedia
Introduction to Multimedia
Ankush Srivastava
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
Ankush 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

220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
Kalna College
 
The Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptxThe Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptx
PriyaKumari928991
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
Celine George
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
MattVassar1
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
Celine George
 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
Sarojini38
 
Decolonizing Universal Design for Learning
Decolonizing Universal Design for LearningDecolonizing Universal Design for Learning
Decolonizing Universal Design for Learning
Frederic Fovet
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
Infosec
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Quiz Club IIT Kanpur
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
Friends of African Village Libraries
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
EducationNC
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
Nguyen Thanh Tu Collection
 
8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity
RuchiRathor2
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
khabri85
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Celine George
 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Catherine Dela Cruz
 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
biruktesfaye27
 
Erasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES CroatiaErasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES Croatia
whatchangedhowreflec
 

Recently uploaded (20)

220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
 
The Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptxThe Rise of the Digital Telecommunication Marketplace.pptx
The Rise of the Digital Telecommunication Marketplace.pptx
 
How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17How to Create User Notification in Odoo 17
How to Create User Notification in Odoo 17
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
 
bryophytes.pptx bsc botany honours second semester
bryophytes.pptx bsc botany honours  second semesterbryophytes.pptx bsc botany honours  second semester
bryophytes.pptx bsc botany honours second semester
 
Decolonizing Universal Design for Learning
Decolonizing Universal Design for LearningDecolonizing Universal Design for Learning
Decolonizing Universal Design for Learning
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
 
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT KanpurDiversity Quiz Prelims by Quiz Club, IIT Kanpur
Diversity Quiz Prelims by Quiz Club, IIT Kanpur
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
 
8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity8+8+8 Rule Of Time Management For Better Productivity
8+8+8 Rule Of Time Management For Better Productivity
 
Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
 
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
Ethiopia and Eritrea Eritrea's journey has been marked by resilience and dete...
 
Erasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES CroatiaErasmus + DISSEMINATION ACTIVITIES Croatia
Erasmus + DISSEMINATION ACTIVITIES Croatia
 

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
  翻译: