COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
PC is incremented
|
|
The Instruction at the MAR address is read from RAM
|
|
The PC value is copied to the MAR
|
|
The instruction in the MAR is decoded
|
|
The value in the MDR is written to the address in the MAR.
|
Detailed explanation-1: -During the fetch execute cycle, the computer retrieves a program instruction from its memory. It then establishes and carries out the actions that are required for that instruction. The cycle of fetching, decoding, and executing an instruction is continually repeated by the CPU whilst the computer is turned on.
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: -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.
Detailed explanation-4: -Fetch – gets the next program command from the computer’s memory. Decode – deciphers what the program is telling the computer to do. Execute – carries out the requested action. Store – saves the results to a Register or Memory.