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

    2. What type of instruction is used to execute different code based on a condition? -Jumps…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CPU is the Central Processing Unit. This is the key component or even the “brain” of the computer. The CPU carries out all the instructions and every single instruction must go through the CPU prior to being performed. It executes arithmetic, logical and input/output operations.…

    • 204 Words
    • 1 Page
    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
  • Satisfactory Essays

    Nt1310 Unit 5 Essay

    • 437 Words
    • 2 Pages

    CPU – Register, ALU, control unit - The CPU is a type of processor which acts as the brains of a computer and is an important part of any computer.…

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

    BTEC ICT Unit 2 P1

    • 944 Words
    • 4 Pages

    A processor is also known as a CPU which stands for central processing unit, is how a computer/laptop functions and this is like the brain of the computer the better the processor is, the faster a computer works…

    • 944 Words
    • 4 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

    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
  • 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
  • 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