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 (D)</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 (B)</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 (A)</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 (C)</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 (A)</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 (A)</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 (C)</p> Signup and view all the answers

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

<p>Ï„ = max [Ï„i] + d (C)</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 (C)</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 (A)</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 (C)</p> Signup and view all the answers

What is the first step in the instruction cycle?

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

Why does the processor need a small internal memory?

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

What is the function of the control unit?

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

What is the purpose of registers in a processor?

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

More Like This

Use Quizgecko on...
Browser
Browser