MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Instructions are fetched from main memory
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -The CPU fetches the instructions one at a time from the main memory into the registers. One register is the program counter (pc). The pc holds the memory address of the next instruction to be fetched from main memory. The CPU decodes the instruction.

Detailed explanation-2: -Fetch Stage: The next instruction is fetched from the memory address that is currently stored in the program counter and stored into the instruction register. At the end of the fetch operation, the PC points to the next instruction that will be read at the next cycle.

Detailed explanation-3: -The operand is copied to the MAR, as it provides the address of the data to be loaded (0100 in this case). The data at address 0100 is then fetched from RAM and passed up the data bus to the MDR. As it is not an instruction but simply data, it is then passed to the accumulator (Acc).

There is 1 question to complete.