Question: Compare zero-, one, two-, and three- address machines by writing programs to compute X = (A+B / C+D) + (E*F) Store your final result in
Compare zero-, one, two-, and three- address machines by writing programs to compute X = (A+B / C+D) + (E*F)
Store your final result in variable X. The instructions available for use in each machine are as follows.

0 Address PUSH M POP M ADD SUB MUL DIV 1 Address LOAD M STORE M ADD M SUB M MUL M DIV M 2 Address MOVE (XY) ADD (XGY 3 Address MOVE (XY) ADD (XGY+Z) DIV (Xf-X/Y) DIV (XKY/Z)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
