Question: Write a program to evaluate the arithmetic expression A = [ ( B + C ) = D ) , using one address instructions, two

Write a program to evaluate the arithmetic expression A=[(B+C)=D), using one address instructions, two address instructions and three address instructions. The instructions available for use are as follows:
\table[[One address,Two address,Three address],[LOAD X,MOVE X,Y,],[STORE X,ADD X, Y,ADD X,Y,Z],[ADD X,SUB X, Y,SUB X,Y,Z],[SUB X,MUL X , Y,MUL X,Y, Z],[MUL X,DIV X, Y,DIV X, Y, Z],[DIV X,,]]
 Write a program to evaluate the arithmetic expression A=[(B+C)=D), using one

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!