Written by Devpaul. Posted in Software on 08 November 2009.
Hot 5479 hits 0 favoured

The first decision to be taken in ISA design is the type of internal storage in the CPU. The three major choice are: a stack and accumulator architectures. Let us study how a stack organization works.

A stack is a storage device that stores information in a last-in-first-out(LIFO) fashion. Only two type of operations are possible in a stack, namely push and pop operations. Push places data onto the top of the stack, while pop removes the topmost program and in some cases the operating can be used explicitly for execution of a program and in some cases the operating system implements its implicitly, such as in subroutine calls and interrupts, as discussed earlier. Some computers reserve a separate memory for stack operations. However, most computers utilize main memory for representing stacks. For accessing data stored in stack, we need a stack pointer(Sp) register. The SP register is initially loaded with the address of the top of the stack. Each instruction pops its source operands off the stack and pushes its result on the stack. In memory, the stack is actually upside down.



Author: Devpaul

7 130 0
Nthing 2 Say ........ be ma frd ew will knw abt me.....
  • No comments found
Powered by CjBlog

Latest Articles

Introduction  There is no denying the fact that endeavour and fortune make our dreams fulfilled. Yet we need confidence to accomplish our long-cherished
The recent terrorist attacks on French soil are an eye opener. The French capital was hit by a wave of attacks, that left over 130 people dead. The French
Birds-the symbol of love Most of us hear that there are thousand and one ways of loving in the world while some others feel there are as many ways of


Related Articles

Tonsil problem is really awkward one as it really irritates us during speaking, eating and even when you are doing nothing. Person cannot concentrate on
A good nutritious diet is essential for good health. Proper diet ensures intake of all essential nutrients which are essential for body growth as well
Ever wondered why some women look five or six months pregnant, months after pregnancy or childbirth. If you are about to say it is because of the fat that
We know about of lot of deformities and abnormalities of various human body parts, but not many of us know about an abnormality of uterus. One such abnormality
Gout or gouty arthritis is popularly known as rich man’s disease. It is a medical condition in which a person encounters pain usually in the joints,