RTUEE / EC / EEEYr 2024 · Sem 62024

Q1Computer Architecture

Question

2 marks

Q.1. What is the role of Program Counter Register?

Answer

The Program Counter (PC) register holds the memory address of the next instruction to be fetched and executed, automatically incrementing after each fetch to sequence normal program execution.

The Program Counter (PC) is a special-purpose CPU register that holds the memory address of the next instruction to be fetched from memory for execution. After each instruction is fetched, the PC is automatically incremented to point to the address of the following instruction in sequence, ensuring the processor executes the program's instructions in the correct order; the PC's value is modified out of sequence (rather than simply incremented) by jump, branch, and call instructions, which load a new target address into the PC to alter the normal sequential flow of execution.

Back to Paper