Written by Devpaul. Posted in Software on 08 November 2009.
Hot 5607 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.

 


Devpaul

Author: Devpaul

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

Latest Articles

Below you can find a few upper body exercises to not only strengthen the back but also prevent back pain:Before getting to know about these exercises,
We are a nation at cross roads.  The more we imagine ourselves to be very progressive, the more we are back to square one.  Yet, in spite of
 The sword is part of Hindu psyche and its origin can be traced to 5000 BC. The first mention of a sword is in the Mahabharata. The epic mentions

Categories

Related Articles

Before we discuss this topic, its worthwhile to dwell on an aspect of human relationship between sexes. Do men feel that there is a need for multiple sex
Listen to your own self I wanted t write this article in first person that would allow me as a narrator to write using variations of 'I' or ‘me’ but
India is going through a difficult phase at the present time as the opposition parties have started a massive drive against the present government and
I, me and myself . That’s what the society has come down to. Everything about oneself takes overriding priority over anything else in this world. Being
Life is not that easy Most of us cannot tolerate untidiness around us be it our home or office. In fact we hate our foolishness and we curse ourselves