Page 1 of 1

6. [10 points, level-3] a) [5 points) Given the memory values below and a one-address machine with an accumulator, what

Posted: Sat May 14, 2022 7:47 pm
by answerhappygod
6 10 Points Level 3 A 5 Points Given The Memory Values Below And A One Address Machine With An Accumulator What 1
6 10 Points Level 3 A 5 Points Given The Memory Values Below And A One Address Machine With An Accumulator What 1 (24.61 KiB) Viewed 42 times
6. [10 points, level-3] a) [5 points) Given the memory values below and a one-address machine with an accumulator, what values do the following instructions load into the accumulator? Word 20 contains 30 Word 30 contains 40 Word 40 contains 50 Word 50 contains 60 a. LOAD IMMEDIATE 20 b. LOAD DIRECT 20 c. LOAD INDIRECT 20 d. LOAD IMMEDIATE 40 e. LOAD DIRECT 40 f. LOAD INDIRECT 40 b) [5 points] Convert the following formulas from infix to reverse Polish notation. a. A + B + C +D+E b. (A-B)/(C+D) + E