Question: How to do this question?? Computer Organization and Architecture Question 11 is based on Figure 3 and Table 2. y = (2A + BC)/D-B Figure

 How to do this question?? Computer Organization and Architecture Question 11

How to do this question?? Computer Organization and Architecture

Question 11 is based on Figure 3 and Table 2. y = (2A + BC)/D-B Figure 3: Equation y Write the appropriate program using correct assembly language notations to solve the equation in Figure 3 using zero-address, one-address, and three-address instructions. The instructions are given in Table 2. Note that register A, B, C, and D cannot be modified, and only register x, y, and z can be used as the temporary register. The final answer must be stored in register y. Table 2: Machine instruction Zero-address PUSHP POP ADD SUB MUL DIV One-address LOAD STORP ADD P SUBP MULP DIVP Three-address ADD (p, q, r) SUB (p, q, r) MUL (p, q, 1) DIV (p, q, ) (20 marks)

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!