Thanks your reply.
The article I read is from
https://www.hakin9.org/en/attachment...verflow_en.pdf. [at page 5]
And you're right. I don't know it very clearly. And that's why I want
to understand it; for it's useful to help me to solve some basic
problem which I may not perceive before.
I appreciate your help,
sincerely.
[color=blue]
>Stack frames and things are about how a function call is implemented
>by a specific compiler, not necessarily a C compiler, and as such is[/color]
OT[color=blue]
>in clc. However, I believe that understanding these practical[/color]
aspects[color=blue]
>of life often helps better understand (the design of) a language[/color]
itself[color=blue]
>(...and people both from clc and csc as well). I hope a general[/color]
answer[color=blue]
>to this question is not much inappropriate here.
>
>anonymous <newbie_tw@yaho o.com.tw> wrote:[color=green]
>> I'm new to programming c; and have few questions. hope could get
>> answers from here.
>> My question is ( I read some post) when a function called the frame
>> pointer would be pushed onto the stack and then the previously[/color][/color]
stack[color=blue][color=green]
>> pointer becomes the new frame pointer. I'm not very sure how?[/color]
>
>Your description doesn't make much sense.
>Next time supply some pointers to the article you read, it'll be
>easier to answer your query.
>[color=green]
>> or you
>> can say i don't understand this activities at all.[/color]
>
>I suspect you don't understand what as stack frame is.
>
>First try to read:
> http://en.wikipedia.org/wiki/Stack_frame
>(this is not a particularly good description, but you have
>to start somewhere).
>
>Then try to google for web pages with these keywords:
> stack frame function call convention
>
>Then if you have more questions, come back here, and I'll prepare
>a longer answer.
>
>--
>Stan Tobias
>mailx `echo siXtY@FamOuS.Be dBuG.pAlS.INVALID | sed s/[[:upper:]]//g`
>[/color]
The article I read is from
https://www.hakin9.org/en/attachment...verflow_en.pdf. [at page 5]
And you're right. I don't know it very clearly. And that's why I want
to understand it; for it's useful to help me to solve some basic
problem which I may not perceive before.
I appreciate your help,
sincerely.
[color=blue]
>Stack frames and things are about how a function call is implemented
>by a specific compiler, not necessarily a C compiler, and as such is[/color]
OT[color=blue]
>in clc. However, I believe that understanding these practical[/color]
aspects[color=blue]
>of life often helps better understand (the design of) a language[/color]
itself[color=blue]
>(...and people both from clc and csc as well). I hope a general[/color]
answer[color=blue]
>to this question is not much inappropriate here.
>
>anonymous <newbie_tw@yaho o.com.tw> wrote:[color=green]
>> I'm new to programming c; and have few questions. hope could get
>> answers from here.
>> My question is ( I read some post) when a function called the frame
>> pointer would be pushed onto the stack and then the previously[/color][/color]
stack[color=blue][color=green]
>> pointer becomes the new frame pointer. I'm not very sure how?[/color]
>
>Your description doesn't make much sense.
>Next time supply some pointers to the article you read, it'll be
>easier to answer your query.
>[color=green]
>> or you
>> can say i don't understand this activities at all.[/color]
>
>I suspect you don't understand what as stack frame is.
>
>First try to read:
> http://en.wikipedia.org/wiki/Stack_frame
>(this is not a particularly good description, but you have
>to start somewhere).
>
>Then try to google for web pages with these keywords:
> stack frame function call convention
>
>Then if you have more questions, come back here, and I'll prepare
>a longer answer.
>
>--
>Stan Tobias
>mailx `echo siXtY@FamOuS.Be dBuG.pAlS.INVALID | sed s/[[:upper:]]//g`
>[/color]
Comment