MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The function of program counter (PC) holds
A
Temporary
B
Address for Memory
C
memory Operand
D
Address of Instruction
Explanation: 

Detailed explanation-1: -The program counter, PC, is a special-purpose register that is used by the processor to hold the address of the next instruction to be executed. The PLA automatically updates the PC to point to the next instruction during the op-code decode cycle.

Detailed explanation-2: -The program counter (PC) is a register that manages the memory address of the instruction to be executed next. The address specified by the PC will be + n (+1 for a 1-word instruction and +2 for a 2-word instruction) each time one instruction is executed.

Detailed explanation-3: -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-4: -The program counter (PC) holds the address of the next instruction to be executed, while the instruction register (IR) holds the encoded instruction. Upon fetching the instruction, the program counter is incremented by one “address value” (to the location of the next instruction).

Detailed explanation-5: -The program counter holds the memory address of the instruction in execution.

There is 1 question to complete.