sristi
sristi
Branch Unspecified
10 Apr 2007

stack

hii all
can anyone explain when a stack is called up/down growing😕
xero

xero

Branch Unspecified
11 years ago
hey,

just think, how a stack of book grows 😀

the more books u keep one over the other, the stack grows !!

so the stack always grow up !!

now speaking of up/down stack, we use the terms up and down just to mention the memory location, like if we create a stack with mem location 0000H (hex) and we keep storing elements inside, this is called upward stack. and if we use some mem location 0FFFFH and then we decrement the location of storage towards 00000H that's downward stack.

Any way this is used very specifically when we talk performance issues on memory terms in different OS.

so, i guess i was able to explain what u were expecting

Share this content on your social channels -

Only logged in users can reply.