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

Most Indians have romantic notions of Subhas Chandra Bose. He is credited with leading the Indian National army, which was an ally of the Japanese. Bose
Introduction - Importance in our everyday life  The importance of newspaper reading is immense in our everyday life. It has become part and parcel
Sikhism is a comparative recent religion and traces its foundation to the  first Sikh Guru Called Nanak. He lived between the period 1469-1539. Guru

Categories

Related Articles

The Islamic world is in turmoil. If I were a Muslim, I would definitely be concerned at the state of ferment all around. Most of this ferment and churning
The Queen of Hills Mussoorie is one of the most visited hill stations especially by north Indians and people from distant countries of the world round
Munnar Hill Station, popularly known as the ‘Kashmir of the South’, is a beautiful hill station and a perfect honeymoon destination in Kerala. Munnar
The beautiful land of India, famous for its alluring tourist destinations, attracts millions of travellers from across the globe. There are thousands of
Amidst the beautiful and serene greenery with the snow clad mighty Himalayas as backdrop, lie the captivating hill stations of North Bengal and Sikkim.Darjeeling,