Preview

Jikjk

Good Essays
Open Document
Open Document
937 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Jikjk
Midterm 2 Report
• Highest: 100
• Lowest: 45
• Average: 83

1

Chapter 7
Input/Output

Input/Output Problems
• Wide variety of peripherals
– Delivering different amounts of data
– At different speeds
– In different formats

• Slower than CPU and RAM
• Need I/O modules

Input/Output Module

Input/Output Module
• Interface to CPU and Memory
• Interface to one or more peripherals Generic Model of I/O Module

I/O Module Function






Control & Timing
CPU Communication
Device Communication
Data Buffering
Error Detection

I/O Module Diagram

I/O Steps
• CPU checks I/O module device status • I/O module returns status
• If ready, CPU requests data transfer • I/O module gets data from device
• I/O module transfers data to CPU

Input/Output Techniques

Input Output
Techniques
• Programmed
• Interrupt driven
• Direct Memory Access (DMA)

Programmed
Input/Output

Programmed I/O
• CPU has direct control over I/O
– Sensing status
– Read/write commands
– Transferring data

• CPU waits for I/O module to complete operation
• Wastes CPU time

Programmed I/O - detail






CPU requests I/O operation
I/O module performs operation
I/O module sets status bits
CPU checks status bits periodically
I/O module does not inform CPU directly • I/O module does not interrupt CPU
• CPU may wait or come back later

Example
• To increase efficiency for programmed I/O, the software could be written so that the processor periodically checks the status of the device. If the device is not ready, the processor can jump to other tasks. After some timed interval, the processor comes back to check status again. • Consider the above scheme for outputting data one character at a time to a printer that operates at 10 characters per second. What will happen if its status is scanned every
200ms?

15

I/O Commands
• CPU issues address
– Identifies module (if #device >1 per
module)

You May Also Find These Documents Helpful

  • Good Essays

    Unit 59 Assignment 3

    • 645 Words
    • 3 Pages

    The process of how the subroutine works within an operating environment is as follows. While the main part of the program is running, there will be a call command sent to the CPU to tell it to stop wherever the program is at, store the W, Z and status along with where in the main program the CPU is at in the stack. Then the main program is cleared from memory and the subroutine is loaded for the CPU to start processing the code. Once the subroutine has finished, the subroutine code is deleted from memory and the CPU will load up the main program back on and will retrieve from stack the stored information (W, Z and status) which will allow the CPU know exactly where it needs to start from.…

    • 645 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    The monolithic model differs from other operating system architectures such the microkernel architecture in that it alone defines a high-level virtual interface over computer hardware. A set of primitives or system calls implement all operating system services such as process management, concurrency, and memory management. Device drivers can be added to the kernel as modules.…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    a. Create a booklet which explain the function of hardware components and identify communication between components. The pages should include photographs and diagrams to illustrate the information you include. (P1)…

    • 1186 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Biology Exam Paper

    • 2143 Words
    • 9 Pages

    Using a technology called ____, a processor can begin executing an instruction before it completes the previous instruction.…

    • 2143 Words
    • 9 Pages
    Satisfactory Essays
  • Powerful Essays

    Bihjkk

    • 1385 Words
    • 6 Pages

    - In Piaget’s theory of moral development, the stage at which children think that rules are unchangeable and that breaking rules leas them automatically to punishment.…

    • 1385 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    jkjkj

    • 527 Words
    • 3 Pages

    Football has impacted our society in so many ways. Starting from the early days, where quarterbacks were simply throwers. To now, where we have a bunch of scrambler quarterbacks. Football has a become a favorite to every American citizen, but there are pros and cons to this sport. The Superbowl is always broadcasted on Sundays, don't we got better things to be doing on a Sunday. There have also been massive amount of riots and moshpits in which a good number of fans get hurt. Probably the main concern in this epidemic is the habit of gambling. That's when you know sports are getting out of hand.…

    • 527 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Yijnkj

    • 715 Words
    • 3 Pages

    Gyu8iooiujn MICROSOFT.OFFICE.PROFESSIONAL.PLUS.2013.X64.VOLUME.ENGLISH.DVD-MSVLSC RELEASE DATE: 10/24/2012 BUILD: 15.0.4420.1017 FILE: SW_DVD5_Office_Professional_Plus_2013_64Bit_English_MLF_X18-55297.ISO SIZE: 851,449,856 byte SHA-1: 774120F3A5F36B65545864D2A40B927F13B19A94 MD5: 125BAD01818BC84CCC30F5FE03ABD947 CRC: 13E338D5 NOTE: this original MLF image. MLF - Microsoft Licensing Fulfillment MSVLSC - Microsoft Volume Licensing Service Center. 10|31|2012 MICROSOFT.OFFICE.PROFESSIONAL.PLUS.2013.X86.VOLUME.ENGLISH.DVD-MSVLSC RELEASE DATE: 10/24/2012 BUILD:…

    • 715 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Jnjn

    • 29463 Words
    • 118 Pages

    material was printed in accordance with printing standards by state agencies established pursuant to R.S. 43:31.…

    • 29463 Words
    • 118 Pages
    Powerful Essays
  • Good Essays

    jkn jgkjn ug

    • 662 Words
    • 2 Pages

    Duck proposed that there were four phases in the dissolution of a relationship. The intra psychic phase involves a partner growing increasingly dissatisfied with the relationship, which either may not be outwardly expressed, or there may be a determination to resolve the issue. The dyadic phase is where the dissatisfaction is expressed in the open, characterised by argument. Maintenance and repair strategies may be used to repair the relationship, which can still be saved. The social phase comprises the involvement of the individuals’ social networks, in which the break-up becomes public. These people may help mend disputes between the partners but may also speed dissolution by taking sides. Social implications, such as who has the house, are discussed. The grave dressing phase begins with the ex-partners starting their post relationship lives. Individual accounts of the breakdown are favourably publicised to avoid the hindrance of future successful relationships, whilst simultaneously justifying their original commitment to the relationship.…

    • 662 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Jijiyo

    • 925 Words
    • 3 Pages

    The literature review provides common characteristics of organizational structure types and reveals several definitions of organizational structure. “In essence, structure is the architecture of business competence, leadership, talent, functional relationships and management” (Wolf, 2002, para. 2). Walton (1986) identifies structure as the basis for organizing, to include hierarchical levels and spans of responsibility, roles and positions, and mechanisms for integration and problem solving. (p. 7) Organizational structure is defined in the Dictionary-Organizational Behavior (2003) as: “The established pattern of relationships among the components of parts of a company. The way that a company is set-up. The formally defined framework of an organization’s task and authority relationships” (p.2). Underdown (2003) says organizational structure “is the formal system of task and reporting relationships that controls, coordinates, and motivates employees so that they cooperate to achieve an organization's goals” (para.2). Organizational structure for Andrews (1995) “… consists of job positions, their relationships to each other (e.g., independent, part of a work-group or team, and reporting relationships) and accountabilities for process and sub-process deliverables” (para.3).…

    • 925 Words
    • 3 Pages
    Good Essays
  • Better Essays

    kjkjkm

    • 1886 Words
    • 8 Pages

    ksdnbvjscnvkjdsva cn vnasd v sdhv d and the last third indifferent (Zinn, p. 76, 1995). To combat that this the Revolution’s organizers began to recruit poor whites and black freedmen in the North with promises of advancement and land ownership. This promoted the revolutionary cause amongst the lower class, but uprisings and mutinies continued at various time until the winning of the War in 1781.…

    • 1886 Words
    • 8 Pages
    Better Essays
  • Better Essays

    OSEK is basically a German Term which stands for “Open systems and the corresponding interfaces for the Automotive Electronics in Motor Vehicle Distributed” [1]. This source is available for everyone and produced specification for three main components which are Operating System (OS), Network Management (NM) and Communication for Automotive embedded systems to increase and improve the Software Portability and Reusability. This document only focuses on the OSEK operating system.…

    • 2496 Words
    • 10 Pages
    Better Essays
  • Powerful Essays

    First and foremost, it is vital to understand that an operating system (OS) is just a program - a very large, very complex program, but still just a program. The OS provides support for the loading and execution of other programs (which we will refer to below as ``application programs''), and the the OS will set things up so that it has some special privileges which user programs don't have, but in the end, the OS is simply a program.…

    • 9021 Words
    • 37 Pages
    Powerful Essays
  • Satisfactory Essays

    jhu oij lk

    • 434 Words
    • 2 Pages

    The story takes place in a forest around sunset. The specific place and time period is not known to the reader. The main characters are presented in a story before this one, so their personalities and backgrounds are known more to the reader than the story reflects.…

    • 434 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    devices that are part of a computer system but are not part of the CPU. Peripherals…

    • 12607 Words
    • 51 Pages
    Good Essays

Related Topics