The stack register contains the address of the last item pushed
on the stack. The stack is a region of memory used for temporary
storage of instruction addresses and register values in a
Last-In-First-Out (nested) structure. It is used for interrupts and
subroutine calls.
View page
NO STACK IS NOT DESCRIBE AS A POINTER BC PTR HOLD ADDRS OF DATA
TYPE (INT O R VAR ) BU T STACK NOT HOLD THE ADDRS O FDATA TYPE
View page
http://www.osix.net/modules/article/?id=275
muzzy writes "Here's some code for you kids. It demonstrates the concept of stack, implemented with a linked list mechanism to support virtually infinitely large stack sizes. Happy reading."
/* Simple Dynamically Allocating Stack Implementation in C * * Copyright (C) 2002 Muzzy of Worst Coders */
View page
Stack is also dynamic memory, without the hassle. Dynamic memory
uses pointers to check its value, free the memory, etc.