Assume a stack-oriented processor has executed the following instructions:…
Assume a stack-oriented processor has executed the following instructions:
PUSH 4, PUSH 7, PUSH 8, ADD, PUSH 10, SUB, MUL
What stack elements remain at the end, using postfix evaluation order?
- A.
4, 5
- B.
10, 15
- C.
20
- D.
10
Attempted by 699 students.
Sign up free to check your answer
Sign up freeLoading lesson…