Which of the following instruction processing activity of the CPU can be pipelined? 1. Instruction encoding 2. Operand loading 3. Operand storing
Which of the following instruction processing activity of the CPU can be pipelined? 1. Instruction encoding 2. Operand loading 3. Operand storing Correct Answer 2 and 3 only
Concept:
Pipeline: It is the process of arrangement of Hardware elements of the CPU such that its overall performances in increased.
Simultaneous execution of more than an instruction takes place in the pipeline processor.
→ Pipeline stages:
1) Instruction fetch
2) Instruction Decode
3) Instruction execute
4) Memory Access
5) Write back
Execution time in the pipeline:
Epipeline = (K + n - 1) Tclk
K → segment
n → no. of task
Explanation:
Operand loading and operand storing are independent operations, hence these two can be pipelined.
1. Encoding of instruction must include opcode, operands, and address information.
2. Encoding represents the entire instruction as a binary value so it can not be pipelined.
Option (b) is the correct choice.