Fetch Cycle in Computer Architecture
18 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the first step in the fetch cycle?

  • PC contains address of next instruction (correct)
  • Address placed on address bus and memory location is identified
  • Control unit sends memory read control signal
  • Result placed on data bus, copied to MBR, then to IR
  • What happens to the content of PC in case of an interrupt?

  • It is incremented by 1
  • It is lost
  • It is saved to allow resumption after interrupt (correct)
  • It is moved to MAR
  • What is the purpose of the indirect cycle?

  • To process an interrupt
  • To handle indirect addressing in an instruction (correct)
  • To perform a memory write operation
  • To fetch the next instruction
  • What is the role of the MAR during the fetch cycle?

    <p>It is used to place the address on the address bus</p> Signup and view all the answers

    What is the final step in the fetch cycle?

    <p>Meanwhile PC incremented by 1, preparing for the next fetch</p> Signup and view all the answers

    What happens to the right most N bits of MBR during the indirect cycle?

    <p>They are transferred to MAR, placed on the address bus and memory location is identified</p> Signup and view all the answers

    What is the purpose of the 'Decode instruction' stage in the instruction pipeline?

    <p>To determine the opcode and the operand specifiers</p> Signup and view all the answers

    In a pipelined processor, what happens when a conditional branch instruction is encountered?

    <p>The processor stalls until the branch outcome is known</p> Signup and view all the answers

    What is the purpose of the 'Fetch operands' stage in the instruction pipeline?

    <p>To fetch the operands from memory</p> Signup and view all the answers

    What is the purpose of the 'Write operand' stage in the instruction pipeline?

    <p>To store the result in memory</p> Signup and view all the answers

    What is the formula to calculate the cycle time (τ) of an instruction pipeline?

    <p>τ = max [τi] + d</p> Signup and view all the answers

    What is the purpose of the 'Fetch instruction' stage in the instruction pipeline?

    <p>To fetch the next expected instruction into a buffer</p> Signup and view all the answers

    What is the primary function of the Arithmetic and Logic Unit (ALU)?

    <p>Performing arithmetic and logical operations on data</p> Signup and view all the answers

    What is the purpose of the internal processor bus?

    <p>To transfer data between various registers and the ALU</p> Signup and view all the answers

    What is the first step in the instruction cycle?

    <p>Fetch instruction</p> Signup and view all the answers

    Why does the processor need a small internal memory?

    <p>To store temporary results</p> Signup and view all the answers

    What is the function of the control unit?

    <p>Controlling the movement of data and instructions</p> Signup and view all the answers

    What is the purpose of registers in a processor?

    <p>To store temporary data</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser