avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] When does the Stack Frame Pointer (Y) get setup?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] When does the Stack Frame Pointer (Y) get setup?
Date: Wed, 4 Jul 2012 09:13:43 +0200 (MET DST)

Bob Paddock <address@hidden> wrote:

> When does the Stack Frame Pointer (Y) get setup?

There's a "stack pointer", which is set up early (on modern AVRs,
it's already set up by the hardware).

There's a frame pointer (Y), which is set up upon each entry of a
function which needs it.  Not all functions need a stack frame.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]