Question: QUESTION 1 Question 1 is based on Figure 3 and Table 2. y = (A/B2 - C?) / (B+C) - A Figure 3; Equation Write

QUESTION 1 Question 1 is based on Figure 3 and Table 2. y = (A/B2 - C?) / (B+C) - A Figure 3; Equation 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 x, y and z can be used as temporary register. Final answer must be stored in register y. Table 2: Machine instruction One-address Three-address LOAD m ADD (m, n, o) STOR m SUB (m, n, o ADD m MUL (m, n, o SUB m DIV (m, n, o) MUL m DIV m (15 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
