ITPEC FE Morning October 2023 Question 11
In a CPU, which of the following is a special register that contains the address of the next instruction to be fetched?
Explanation
Program counter — it holds the address of the next instruction and advances after each fetch, or is reloaded by a jump.
In the fetch cycle the CPU reads the instruction at the address in the program counter into the instruction register, then updates the program counter to point to the following instruction. A branch or jump works by writing a new address into the program counter.
Answer (d)
Why not others:
- •(a) Accumulator — holds operands and the results of arithmetic and logic operations, not instruction addresses
- •(b) Index register — holds a value added to an address to form the effective address, as when stepping through an array
- •(c) Instruction register — holds the instruction currently being decoded and executed, not the address of the next one
Key rule: The program counter says where the next instruction is; the instruction register holds the one already fetched.
Computer Component · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.