COMPUTER FUNDAMENTALS

COMPUTER ARCHITECTURE

CPU ARCHITECTURE AND ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What happens in the ‘fetch’ part of the Fetch Decode Execute Cycle
A
The RAM delivers the instruction.
B
The processor fetches the instruction from primary memory.
C
The program counter goes down by one.
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: -The decoding process allows the CPU to determine what instruction is to be performed so that the CPU can tell how many operands it needs to fetch in order to perform the instruction. The opcode fetched from the memory is decoded for the next steps and moved to the appropriate registers.

Detailed explanation-3: -Four steps of the machine cycle Fetch-Retrieve an instruction from memory. Decode-Translate the retrieved instruction into computer commands. Execute-Execute the computer commands. Store-Send and write the results back in memory.

Detailed explanation-4: -The new data is fetched from the address and eventually ends up in the accumulator, along with the results of the previous cycle.

There is 1 question to complete.