Question: could you please explain your answer so that I can understand what is exactly going on and how to solve the question Question # 2:

could you please explain your answer so that I can understand what is exactly going on and how to solve the question
Question # 2: Consider the following algebraic expression: Answer = ((X + Y)/(A-B) - (X -Y)/D + E)/(X*Y/A + Y) = (A) Write down the assembly code using LOAD, STOR, ADD, SUB, MULT, DIV, and HLT instructions. You may need at least two memory locations to store the intermediate results, call them T1, and T2. (In the LOAD-STORE architecture, the CPU always has a dedicated accumulator. (B) Now assume that you have a STACK computer. Write down the code to compute the expression for answer above using PUSH, POP, ADD, SUB, MULT, DIV, and HLT instructions. (C) Using the program in part (B), write the equivalent expression for answer in RPN (Reverse Polish Notation)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
