Push and pop, Computer Engineering

Suupose a stack-oriented processor that haves the stack operations PUSH and POP.  Arithmetic operations automatically involve the top one or two stack elements.

Starting with an empty stack, what stack elements remain after the following instructions are implemented?

 

Instruction

Stack (top number on left of stack)

PUSH 4

 

PUSH 7

 

PUSH 8

 

ADD

 

PUSH 10

 

SUB

 

MUL

 

 

 

Posted Date: 3/23/2013 2:19:18 AM | Location : United States







Related Discussions:- Push and pop, Assignment Help, Ask Question on Push and pop, Get Answer, Expert's Help, Push and pop Discussions

Write discussion on Push and pop
Your posts are moderated
Related Questions
What should the size of ''t'' in btree be depending on the hard disk size

Q. Describe types of complements? There are two kinds of complements for a number of base (also known as radix) r. These are known as r's complement and (r- 1)'s complement. Fo

Given the following interface public interface WordSet extends Iterable { public void add(Word word); // Add word if not already added public boolean contains(Word word);

What is the most common biometrics? The most common biometrics is the given below: Face geometry (Photo): In this the computer takes the picture of your face and matches t



What is a pre-processor? A pre-processor is a program that procedure the source code before it passes by the compiler. It handles under the control of pre-processor directive.

Q. Explain about Cathode Ray Tubes? Cathode ray tube is the major technology on that televisions and monitors have been based.  CRT is a partially evacuated glass tube which is

Differentiate between Gateways and Bridges. A machine that connects a LAN to the Internet is termed as a gateway. The gateway machine is responsible for routing packets that ar

its language base assignment