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.

 

Like it on Facebook, +1 on Google, Tweet it or share this article on other bookmarking websites.


Written by
Devpaul
Nthing 2 Say ........ be ma frd ew will knw abt me.....
  • No comments found

Latest Articles

Chikungunya is a Mosquito borne viral disease caused by RNA virus. The word " Chikungunya" means " That which Bends up ", of the contorted posture of the
With the changing climatic conditions and rainfall pattern we need to shift our focus towards climate resilient crops.Hence Millets are seen as an alternative
Strong enough (230 Hits)
Mark was the second son of a Bank officer & a housewife. He was born in Perth Australia, & had his primary schooling there. He was very good at

Related Articles

In a seminar which I attended at the NDC in Delhi, speaker after speaker cautioned the Indian leadership about the growing danger to India from our immediate
Johny was skating down the road on his skateboard, swerving away from the curb, bustling through the traffic... The sun in the sky, the gentle wafting
Donald Trump won the election but lost the popular vote. This is the dichotomy of the American election where it is not the case of first past the post.
Narendra Modi swept to power in a gigantic wave, not seen for over 3 decades as he beat the moth-eaten UPA government led by the lackey of the Nehru- Gandhi
Introduction  We all have a powerful desire in our mind to see the unseen and to know the unknown. As a result we spontaneously seek for travelling