Q44
NAT2 marksConsider the sequence of machine instruction given below:
In the above sequence, to are general purpose registers. In the instructions shown, the first register shows the result of the operation performed on the second and the third registers. This sequence of instructions is to be executed in a pipelined instruction processor with the following stages: Instruction Fetch and Decode , Operand Fetch , Perform Operation and Write back the result . The , and stages take clock cycle each for any instruction. The stage takes clock cycle for ADD and SUB instruction, clock cycles for MUL instruction and clock cycles for DIV instruction. The pipelined processor uses operand forwarding from the PO stage to the OF stage. The number of clock cycles taken for the execution of the above sequence of instruction is _________.
Loading…