Question: 3. Show the code to perform the computation X=(A+B) *C*(D+E) using microprocessors which use the instruction formats shown below. Do not modify the values of
3. Show the code to perform the computation X=(A+B) *C*(D+E) using microprocessors which use the instruction formats shown below. Do not modify the values of A,B,C,D and E. If necessary. use temporary location to store intermediate results. a) 3-operand instructions b) 2-operand instructions c) 1-operand instructions d) 0-operand instructions 4. For your code in the previous problem, microprocessors require the following amounts of time to fetch, decode and execute each instruction. Which microprocessor calculates X the fastest? 0 Microprocessor Microprocessor 0 Microprocessor 1 Microprocessor 12 Microprocessor 83 Instruction Type -operand instructions 1-operand instructions 2-operand instructions 3-operand instructions Time per instruction 35 ns 45 ns 60 ns 90 ns 3. Show the code to perform the computation X=(A+B) *C*(D+E) using microprocessors which use the instruction formats shown below. Do not modify the values of A,B,C,D and E. If necessary. use temporary location to store intermediate results. a) 3-operand instructions b) 2-operand instructions c) 1-operand instructions d) 0-operand instructions 4. For your code in the previous problem, microprocessors require the following amounts of time to fetch, decode and execute each instruction. Which microprocessor calculates X the fastest? 0 Microprocessor Microprocessor 0 Microprocessor 1 Microprocessor 12 Microprocessor 83 Instruction Type -operand instructions 1-operand instructions 2-operand instructions 3-operand instructions Time per instruction 35 ns 45 ns 60 ns 90 ns
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
