Implement this calculator in MARIE assembly.
Use the Push and Pop subroutines from the previous task to implement the stack. It is a requirement that your calculator can handle any valid RPN expression, no matter how many operands and operators, and no matter in what order (up to the size of the available memory). I.e., the following expressions should all work and deliver the same result:
1020304050 -1- 1 - 1 - 1
1020 - 13040 - 150 - 1 - 1
102030 -1 - 140-150 - 1
1020 - 130 - 140 - 150 - 1