Preview

paging implimentation project

Powerful Essays
Open Document
Open Document
3502 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
paging implimentation project
Background The basic function performed by a computer is execution of a program, which consists of a set of instructions stored in memory. The processor does the actual work by executing instructions specified in the program. In its simplest form, instruction processing consists of two steps The processor reads (fetches) instructions from memory one at a time and executes each instruction. Program execution consists of repeating the process of instruction fetch and instruction execution The processing required for a single instruction is called an instruction cycle consist of two steps, the fetch cycle and the execute cycle. Program execution halts only if the machine is turned off, some sort of unrecoverable error occurs, or a program instruction that halts the computer is encountered. To improve processing efficiency, the concept of interrupts is used. Virtually all computers provide a mechanism by which other modules (I/O, memory) may interrupt the normal processing of the processor. With interrupts, the processor can be engaged in executing other instructions while an I/O operation is in progress. For example, most external devices are much slower than the processor. Suppose that the processor is transferring data to a printer using the instruction cycle. After each write operation, the processor must pause and remain idle until the printer catches up. The length of this pause may be on the order of many hundreds or even thousands of instruction cycles that do not involve memory. Clearly, this is a very wasteful use of the processor. In this project, multiple nested interrupt are being discuss and the program build are meant to this type of interrupt but somehow the program can also work for multiple sequential interrupt based on how priority of interrupts are set. Later I will discuss how multiple interrupts are being served by operating system and how sequential and nested multiple interrupt are differs. 1.1 Objectives The objectives of this project

You May Also Find These Documents Helpful

  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    programs is not new, the renewed and increased interest is aided by certain trends in…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Powerful Essays

    Interrupt-driven I/O: The processor issues an I/O command on behalf of a process, continues to execute subsequent instructions, and is interrupted by the I/O module when the latter has completed its work. The subsequent instructions may be in the same process, if it is not necessary for that process to wait for the completion of the I/O. Otherwise, the process is suspended pending the interrupt and other work is performed. Direct memory access (DMA): A DMA module controls the exchange of data between main memory and an I/O module. The processor sends a request for the transfer of a block of data to the DMA module and is interrupted only after the entire block has been…

    • 1721 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Today’s lecture will be spent entirely in the computer lab. At the end of lab, submit this worksheet.…

    • 581 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Is 310 Ch 1 Assignment

    • 801 Words
    • 4 Pages

    5. Typically, a(n) computer operations manager is responsible for a large computer center and all the software running in it.…

    • 801 Words
    • 4 Pages
    Satisfactory Essays
  • Better Essays

    Open vs Closed Systems

    • 1153 Words
    • 5 Pages

    Stallings, W. (2012). Operating systems: Internals and design principles (7th ed.). Retrieved from The University of Phoenix eBook Collection database..…

    • 1153 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Faith Integration

    • 613 Words
    • 3 Pages

    It seems that any certain instruction(s) can be executed, only when the CPU is in kernel mode. At the same instance, the hardware devices could only be accessed, only when the program is executing in the kernel mode. There is a propensity that control over when interrupts could be enabled or disabled is also possible only when the CPU is in kernel mode. Therefore, the Computer Processing Unit (CPU) has very limited capability when executing in user mode. This in turn will enforce protection of critical resources.…

    • 613 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Exercise 8 Study Guide

    • 398 Words
    • 2 Pages

    Exercise 8: Compare and contrast multiprocessing and concurrent processing. Describe the role of process synchronization for both systems.…

    • 398 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CHAPTER 3 QUESTIONS

    • 438 Words
    • 7 Pages

    A significant point about the __________ is that it contains sufficient information so that it is possible to interrupt a running process and later resume execution as if the interruption had not occurred.…

    • 438 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Chapter 2: Data Manipulation Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear Copyright © 2012 Pearson Education, Inc. Chapter 2: Data Manipulation • • • • • • 2.1 Computer Architecture 2.2 Machine Language 2.3 Program Execution 2.4 Arithmetic/Logic Instructions 2.5 Communicating with Other Devices 2.6 Other Architectures Copyright © 2012 Pearson Education, Inc. 0-2 1 Computer Architecture • Central Processing Unit (CPU) or processor – Arithmetic/Logic unit versus Control unit – Registers • General purpose • Special purpose • B Bus • Motherboard Copyright © 2012 Pearson Education, Inc. 0-3 Figure 2.1 CPU and main memory connected via a bus…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Best Essays

    Over the past 25 years, there has been much advancement in computer systems and architecture to improve system performance. The development of concepts such as cache memory, virtual memory, pipelining, and reduced instruction set computing (RISC) have led to increases in speed and processing power, as well as optimization of CPU usage and energy efficiency. These concepts have evolved over the years, and continue to evolve and give rise to new concepts which enhance system performance at an almost exponential rate. Computers today are more powerful, and cheaper to manufacture and maintain than ever before. This paper will examine the evolution of, and current trends in improving computer system performance by exploring concepts such as cache memory, virtual memory, pipelining, and RISC, and assessing the impact these concepts have made, and continue to make on system performance.…

    • 2038 Words
    • 6 Pages
    Best Essays
  • Good Essays

    Plan Paper

    • 463 Words
    • 2 Pages

    Nike is a footwear company that is recognized globally. They have many name brands known by all, as well as charities and other community based programs. They sponsor and endorse many professional, college, and high school sports teams as well as various other companies linked to sports and physical activity. This company started off as an idea from two men and now has thousands of employees across the world supporting their mission statement and various goals.…

    • 463 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Identify Controls

    • 403 Words
    • 2 Pages

    What control or controls would you recommend in a computer processing system to prevent the following situations?…

    • 403 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Emergent Reader Plan

    • 611 Words
    • 3 Pages

    Materials and Assessments: I will be using the following materials to create my “emergent reader book plan”: (1) the I like Myself book, (2) leveled book about topic, (3) list of words (different parts of grammar/traits/descriptive words), (4) chart paper, (5) markers, (6) magazines, (7) index cards, (8) glue, (9) scissors, (10) crayons, (11) paper, (12) writing utensils, (13) and pictures. In regards to space, my lessons will be taking place in the classroom, on the rug, on tables and the hallway. I will use several forms of assessments for this emergent reader book plan: (a) student participation observation notes, (b) use formal/informal/authentic/performance rubrics, (c) use a baseline of student work to gauge learning.…

    • 611 Words
    • 3 Pages
    Good Essays
  • Good Essays

    int function1(char x) { //parameter x passed to the function, function returns an integer value…

    • 1596 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Case Study on Windows Xp

    • 1510 Words
    • 7 Pages

    The history of windows operating system starts from 1976 when Bill gates and Paul Allen found Microsoft Corp.…

    • 1510 Words
    • 7 Pages
    Powerful Essays