Question: with clear steps 4. (3 points) Consider the following expression: M = U/(V*W + X*Y - Z). a) List a sequence of instructions to evaluate
4. (3 points) Consider the following expression: M = U/(V*W + X*Y - Z). a) List a sequence of instructions to evaluate this expression on a computer architecture with two-address arithmetic instructions (ADD, SUBT, MULT, DIV), and STORE and LOAD instructions where one of the operands must be a register. Assume registers R1, R2, R3, ..etc and you must use the least number of registers possible to complete the arithmetic. b) How many registers needed to complete this expression
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
