From: Jagadeesh Bhaskar P <jbhaskar@hclinsys.com>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Re: Frame pointer Vs Stack Pointer
Date: Tue, 23 Nov 2004 15:52:56 +0530 [thread overview]
Message-ID: <1101205376.3786.63.camel@myLinux> (raw)
In-Reply-To: <20041123092440.27562.qmail@web52908.mail.yahoo.com>
AFAIK, frame pointer points to the current activation record. Activation
records, for example, are created when a function is called, or the
program enters a different block of code. It can have details of the
return address, local variables etc. Now for getting the variables under
the current scope, a frame pointer is used.
A program will have an associated stack, to store values related to the
program. At times even the activtion records are stored in the stack.
The stack pointer points to the top of this stack.
On Tue, 2004-11-23 at 14:54, Ankit Jain wrote:
> Frame pointer, Stack Pointer....i want to understand
> this concept w.r.t stack in a program
>
> how a program stores and understand by this
>
> thanks
>
> ankit
>
> ________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
--
Jagadeesh Bhaskar P <jbhaskar@hclinsys.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-11-23 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 9:24 Frame pointer Vs Stack Pointer Ankit Jain
2004-11-23 10:22 ` Jagadeesh Bhaskar P [this message]
2004-11-25 20:10 ` lindax newbie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1101205376.3786.63.camel@myLinux \
--to=jbhaskar@hclinsys.com \
--cc=ankitjain1580@yahoo.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox