Preview

Computer Architect

Satisfactory Essays
Open Document
Open Document
744 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Computer Architect
Week 2 Approved Solutions - Complete end of chapter Review Questions 3.1, 3.2, 3.3, 3.4, 3.5, and Problem 3.3, 3.4 in the text.

3.1 Processor-memory: Data may be transferred from processor to memory or from memory to processor. Processor-I/O: Data may be transferred to or from a peripheral device by transferring between the processor and an I/O module. Data processing: The processor may perform some arithmetic or logic operation on data. Control: An instruction may specify that the sequence of execution be altered.

3.2 Instruction address calculation (iac): Determine the address of the next instruction to be executed. Instruction fetch (if): Read instruction from its memory location into the processor. Instruction operation decoding (iod): Analyze instruction to determine type of operation to be performed and operand(s) to be used. Operand address calculation (oac): If the operation involves reference to an operand in memory or available via I/O, then determine the address of the operand. Operand fetch (of): Fetch the operand from memory or read it in from I/O. Data operation (do): Perform the operation indicated in the instruction. Operand store (os): Write the result into memory or out to I/O.

3.3 (1) Disable all interrupts while an interrupt is being processed. (2) Define priorities for interrupts and to allow an interrupt of higher priority to cause a lower-priority interrupt handler to be itself interrupted.

3.4 Memory to processor: The processor reads an instruction or a unit of data from memory. Processor to memory: The processor writes a unit of data to memory. I/O to processor: The processor reads data from an I/O device via an I/O module. Processor to I/O: The processor sends data to the I/O device. I/O to or from memory: For these two cases, an I/O module is allowed to exchange data directly with memory, without going through the processor, using direct memory access (DMA).

3.5 With multiple buses, there are fewer devices per bus. This (1)

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. What is an instruction? – A sequence of bits understood by the processor to signal a certain action…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    This file of RES 351 Week 3 Discussion Questions and Summary shows the solutions to the following problems:…

    • 576 Words
    • 2 Pages
    Good 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
  • Good Essays

    The operating systems job is managing the memory. The operating system is in charge of bringing this process into main memory (Stallings, 2012). However the processor must deal with references within the program. Branch instructions include an address to reference the order to be executed next. Data reference instructions include the address of the byte or word of data referenced. The processor hardware and operating system software must be able to translate the memory references found in the code of the program into actual physical memory addresses, reflecting the current location of the program in main memory. (Stallings, 2012).…

    • 573 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    The processor is the brain of the computer. It handles all instructions in programs loaded into RAM and gets information from the HDD or SSD. It handles data in binary.…

    • 1180 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 1&2 Discussion

    • 379 Words
    • 2 Pages

    Access control is typically achieved by reserving a collection of bits within the general “Flag Register” to indicate the current “access control level”. Certain instructions are restricted so that they are only legal if the “access control level” is at least some minimum value; otherwise the instruction generates an “illegal operation” interrupt.…

    • 379 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Ict Unit 30

    • 2076 Words
    • 9 Pages

    Processor – The chip inside the computer that performs all of the calculations and operations necessary to make your computer run.…

    • 2076 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    To apply the stored-program concept, central processing unit (CPUs) are designed to recognize instructions encoded as bit patterns. This collection of instructions along with the encoding system is called the machine language. An instruction expressed in this language is called a machine-level instruction or, more commonly, a machine instruction.…

    • 458 Words
    • 2 Pages
    Good Essays
  • Good Essays

    for Chapters 11, 12 and 13. Thus, you are not required to return this last problem set.…

    • 3038 Words
    • 13 Pages
    Good Essays
  • Satisfactory Essays

    Lab Quiz 5

    • 708 Words
    • 3 Pages

    4. This register is often used to hold a program address but does not usually contain the address of the instruction being executed.…

    • 708 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Egypt Economy

    • 11120 Words
    • 45 Pages

    A Microprocessor is a multipurpose, Programmable clock-driven, register based electronic device that read binary instruction from a storage device called memory, accepts binary data as input and processes data according to…

    • 11120 Words
    • 45 Pages
    Powerful Essays
  • Satisfactory Essays

    memory management paper

    • 463 Words
    • 2 Pages

    Relocation is processes of adjustment of program addresses to match actual physical addresses where program resides in memory when program process is executed. Reasons relocations is required because computer programmers no knowledge of other programs processes exist in resident memory upon execution of a program (Stallings, 2012). Computer programmers prefer to swap active processes to and from main memory to optimize computer processor utilization providing pool of ready program processes for execution (Stallings, 2012). When a program process is switched to disk, location hard to determine when switched back in, requiring program process placement in same location in main memory when program process first executed. Computer programmers may require relocation of process within a different area of memory. Operating systems responsible for managing, and process into main memory, and requires known location process control information of execution stack. Entry point begins with execution of program process. Branch instructions consist of address referencing instructions to execute next process. Data reference instruction contains bytes, and words of data referenced. Computer processor hardware and operating system software requires the ability to translate memory references in code of program into memory addresses reflecting current location of program in main memory.…

    • 463 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Input/Output Organization

    • 4736 Words
    • 19 Pages

    • Most modern computers use single bus arrangement for connecting I/O devices to CPU & Memory • The bus enables all the devices connected to it to exchange information • Bus consists of 3 set of lines : Address, Data, Control • Processor places a particular address (unique for an I/O Dev.) on address lines • Device which recognizes this address responds to the commands issued on the Control lines • Processor requests for either Read / Write • The data will be placed on Data lines…

    • 4736 Words
    • 19 Pages
    Good Essays
  • Good Essays

    Conventionally, a computer consists of at least one processing element, typically a central processing unit (CPU) and some form of memory. The processing element carries out arithmetic and logic operations, and a sequencing and control unit that can change the order of operations based on stored information. Peripheral devices allow information to be retrieved from an external source, and the result of operations saved and retrieved. In other words a computer is a device that is designed to do what we tell it to do. We give it commands that are mathematically calculated in a code called binary code. A Binary code is a way of representing text or computer processor instructions by the use of the binary number system's two-binary digits 0 and 1. This is accomplished by assigning a bit string to each particular symbol or instruction. For example, abinary string of eight binary digits (bits) can represent any of 255 possible values and can…

    • 505 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    embedded

    • 1074 Words
    • 5 Pages

    o The high order byte is taken to be $00. This is how you access the…

    • 1074 Words
    • 5 Pages
    Satisfactory Essays