[Top][All Lists]

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

Re: [avr-gcc-list] Function prologue and epilogues of gcc

From: jepler
Subject: Re: [avr-gcc-list] Function prologue and epilogues of gcc
Date: Fri, 21 Oct 2005 14:13:31 -0500
User-agent: Mutt/

If you could guarantee that there are 255 unused bytes of SRAM below the lowest
stack location, maybe this would be OK.  But imagine the AVR sees an interrupt
just after __SP_H__ changes.  It begins by pushing a bunch of registers, which
clobbers the heap, or even worse writes to I/O space or the registers!


Attachment: pgpo6bjIUv50S.pgp
Description: PGP signature

reply via email to

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