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

The GOP  is as good as over with the acceptance of Donald as the Republican candidate to face Hillary Clinton.It was not a smooth convention as there
There is nothing more wonderful than nature and its immense beauty lies not just in what pleases the eye but each of its aspects. Be it the capability
Every passing day makes solution to the ever burning Kashmir problem look more difficult. Nearly seventy years after independence all the three affected

Categories

Related Articles

Background Pakistan never accepted the accession of Kashmir to India and insisted on a plebiscite in the valley to ascertain the wishes of the people
Ever since the Greeks launched a 1000 ships to bring back Queen Helen who had eloped with Paris, the Prince of Troy, to the modern age the potency of sea
For a huge majority of Indians, life is a big constant struggle.  The rising cost of every single item of food items, clothing, housing. education
Introduction Indian history has great examples of the famous dictum by that great military thinker Baron Von  Clausewitz " Military power is an extension
  https://en.wikipedia.org/wiki/Indian_Legion( Field Marshal Erwin Rommel inspecting Indian troops of the India Legion in France 1944) One of