Assume a stack-oriented processor that includes the stack operations PUSH and POP. Arithmetic operations automatically involve the top one or two stack elements.
Beginning with an empty stack, what stack elements remain after the following instructions are executed?
Instruction Stack (top number on left of stack)
PUSH 4
PUSH 7
PUSH 8
ADD
PUSH 10
SUB
MUL