MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Tick all options that happen in the DECODE CYCLE?
A
PC is incremented
B
The Instruction at the MAR address is read from RAM
C
The PC value is copied to the MAR
D
The instruction in the MDR is decoded by the CU
E
The value in the MDR is written to the address in the MAR.
Explanation: 

Detailed explanation-1: -Eventually, the instruction in the MDR is copied into the current instruction register (CIR) which acts as a temporary holding ground for the instruction that has just been fetched from memory. During the decode stage, the control unit (CU) will decode the instruction in the CIR.

Detailed explanation-2: -Decode stage 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: -The instruction or data held in that memory address is sent along the data bus to the memory data register (MDR). The instruction or data held in the MDR is copied into the current instruction register (CIR). The instruction or data held in the CIR is decoded and then executed .

Detailed explanation-4: -memory data register (MDR)-holds the contents found at the address held in the MAR, or data which is to be transferred to primary memory. current instruction register (CIR)-holds the instruction that is currently being decoded and executed.

There is 1 question to complete.