MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
value of PC incremented by 1The above is part of..
A
fetch
B
decode
C
execute
D
None of the above
Explanation: 

Detailed explanation-1: -The program counter is incremented by 1 if the instruction is 8 bits long and it is incremented by 2 if it is 16 bits long.

Detailed explanation-2: -During the fetch stage, the address stored in the PC is copied into the memory address register (MAR) and then the PC is incremented in order to “point” to the memory address of the next instruction to be executed.

Detailed explanation-3: -Usually, the PC is incremented after fetching an instruction, and holds the memory address of ("points to") the next instruction that would be executed. Processors usually fetch instructions sequentially from memory, but control transfer instructions change the sequence by placing a new value in the PC.

Detailed explanation-4: -The fetch-execute cycle (also known as fetch-decode-execute cycle) is followed by a processor to process an instruction . The cycle consists of several stages. The memory address held in the program counter is copied into the MAR . The address in the program counter is then incremented-increased-by one.

There is 1 question to complete.