Questions: Instruction Fetch-Decode-Execute Cycle

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

The processor is about to fetch the next instruction. What does it do, and how does it know where to look?

AIt asks the operating system which instruction to run next
BIt reads the next instruction from the memory address in the program counter (PC), then increments the PC
CIt examines the instruction register (IR) to determine which memory address to fetch from
DIt broadcasts a request to all memory banks and uses the first response
Question 2 Multiple Choice

The processor has decoded a branch instruction: 'if zero flag is set, jump to address 0x200.' The zero flag is set. What happens during execute?

AThe ALU performs a subtraction and stores the result in a register
BThe processor loads data from memory address 0x200 into a general-purpose register
CThe PC is overwritten with 0x200, redirecting the next fetch to that address instead of the default sequential next instruction
DThe instruction is placed back in the instruction register to be re-decoded at the new address
Question 3 True / False

The decode phase determines what operation to perform, but the selection of which registers or memory addresses to use happens later, during the execute phase.

TTrue
FFalse
Question 4 True / False

A branch instruction changes the program counter to a new address, which is why the instruction executed immediately after a taken branch is not the one that follows it in memory.

TTrue
FFalse
Question 5 Short Answer

Why is the program counter (PC) central to the fetch-decode-execute cycle, and how do branch instructions exploit it?

Think about your answer, then reveal below.