Question: QUESTION 1 Question 1 is based on Figure 3 and Table 2. $$ y=left(A / B^{2}-C^{2} ight) /(B+C)-A $$ Figure 3; Equation r Write the

 QUESTION 1 Question 1 is based on Figure 3 and Table

QUESTION 1 Question 1 is based on Figure 3 and Table 2. $$ y=\left(A / B^{2}-C^{2} ight) /(B+C)-A $$ Figure 3; Equation r Write the appropriate program using correct assembly language notation to compute equation in Figure 3 using one-address and three-address instructions. The instructions are given in Table 2. Note that register A, B and C cannot be modified and register $\mathbf {x}, \mathbf {y}$ and $\mathbf {z}$ can be used as temporary register. Final answer must be stored in register y. Table 2: Machine instruction \begin{tabular}(ICC Whline One-address & Three-address Thline LOAD $$ & ADD $(m, n, 0$ Whline STOR $$ & SUB $(m, n, 0$ W Thline ADD $m$ & MUL $(m, n, 0$ Thline SUB $m$ & DIV $(m, n, 0$ Whline MUL $m$ & Whline DIV $m$ & hline \end{tabular) (15 marks) CS.SD.655

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!