COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
PC contains the next instruction to be executed.
|
|
PC contains the instruction that is executed currently.
|
|
PC contains the address of the next instruction that is to be executed.
|
|
None of the above
|
Detailed explanation-1: -The register which stores the address of the next instruction is called the program counter. Usually after each instruction is executed, the program counter increases by one (hence the use of the word counter) so that it contains the address of the next instruction.
Detailed explanation-2: -A program counter is a register in a computer processor that contains the address (location) of the instruction being executed at the current time. As each instruction gets fetched, the program counter increases its stored value by 1.
Detailed explanation-3: -The program counter contains the address of the next instruction to be fetched from the main memory when the previous instruction has been successfully completed. The program counter also functions to count the member instruction. As each instruction gets fetched, the program counter increases its stored value by 1.
Detailed explanation-4: -A program counter contains the memory location of the next instruction. We can view a program counter as a modern digital counter. It facilitates faster execution of the instructions. Furthermore, it provides tracking of the execution points while the CPU executes the instructions.
Detailed explanation-5: -Detailed Solution. The Program counter (PC): The program counter acts as a pointer to the next instruction to be executed and always contains the 16-bit address of the memory location of next instruction.