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

In this article, we will cover other provisions that have attained a degree of notoriety in recent times for their effect on suppressing online freedom
Well, I have shifted to Hyderabad and it is almost six months. This is my second visit to Hyderabad. I am not new to this place as I did my masters from
You might have seen many people (especially male youngsters) with bloated and swollen face.  Most of the time people think its because of drinking

Categories

Related Articles

For the individuals who have long been in the web promoting business, focusing on activity has been a typical objective. Through time, they have without
Khushwant Singh  Khushwant Singh is dead. He died on March 20, 2014 in New Delhi. I knew him for his column “With Malice Towards One and All”
Writing style Writing is an art that gives you power to communicate with your readers. Few people in the world are gifted with this art naturally although
One day, Ramesh went to market by bicycle. On the way, his head began reeling. He fell to the ground. There was utter dark before him. He felt very light
Chasing your wish is already difficult enough, so you do not have to make it any more complex. When you have a dream job, you will first study hard to