Assume a stack oriented processor that includes the stack operations  PUSH and POP. Arithmetic operations automatically perform on the top one/two stack elements. Begin with an empty stack. What stack elements remain in the stack after the following instructions are executed?

I1: PUSH 2

I2: PUSH 8

I3: PUSH 4

I4: MUL

I5:PUSH  5

I6:ADD

I7:MUL

1
39
2
162
3
37
4
74

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation