Question: Use Load-Store instructions to compute the expression A*B-C. Load-Store Architectures Instruction set: add R1, R2, R3 sub R1, R2, R3 mul R1, R2, R3 load

 Use Load-Store instructions to compute the expression A*B-C. Load-Store Architectures Instruction
set: add R1, R2, R3 sub R1, R2, R3 mul R1, R2,

Use Load-Store instructions to compute the expression A*B-C. Load-Store Architectures Instruction set: add R1, R2, R3 sub R1, R2, R3 mul R1, R2, R3 load R1, R4 store R1, R4 Example: A*B - (A+C*B) load R1, &A load R2, &B load R3, &C load R4, R1 load R5, R2 load R6, R3 mul R7, R6, R5 C*B */ add R8, R7, R4 /* A + C*B * mul R9, R4, R5 AlB *7 sub R10, R9, R8 A B - (A+C*B) */

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!