Question: 2. Compare one and three address machines by writing programs to compute the following expression: X= (D+E * F)/(A - B XC) For each of

2. Compare one and three address machines by writing programs to compute the following expression: X= (D+E * F)/(A - B XC) For each of the two machines. The instructions available for use are as follows: 1 Address LOAD M STOREM ADD M SUBM MUL M DIVM 3 Address MOVE (X+Y) ADD (X+Y+Z) SUB (X+Y-Z) MUL (X+Y XZ) DIV (X+Y/Z) (7 Marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
