Question: Computer architecture Write zero, one, two, three address expression Analyze and Compare zero-, one-, two-, and three- address machines by writing programs to compute the
Computer architecture

Write zero, one, two, three address expression
Analyze and Compare zero-, one-, two-, and three- address machines by writing programs to compute the following expression for each of the four machines. A-B/C X = D+E*F The instructions available for use are as follows: 0 Address PUSH M POP M ADD SUB MUL DIV 1 Address LOAD M STOREM ADD M SUBM MUL M DIV M 2 Address 3 Address MOV (X+Y) MOVE (X+Y) ADD(X+X+Y) ADD(XY+Z) SUB ( XX-Y) SUB(XY-Z) MUL (XX *Y) MUL(X+Y*Z) DIV(X+X/Y) DIV(X+Y/Z)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
