Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What is the purpose of step 2 (modify the PC) in the fetch-decode-execute cycle? What would happen if this step were omitted? This are the
What is the purpose of step 2 (modify the PC) in the fetch-decode-execute cycle? What would happen if this step were omitted?
This are the steps:-
a) Fetch the next instruction from memory into IR.
b) Change PC to point to the next instruction.
c) Determine the type of instruction just fetched.
D) If the instruction uses a word in memory, determine where it is.
E) Fetch the word, if needed, into a CPU register.
F) Execute the instruction (running the operands through the data path).
G) Go to step 1 to begin executing the next instruction.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started