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

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

Re: [avr-gcc-list] when is it safe to use -mtiny-stack


From: Parthasaradhi Nayani
Subject: Re: [avr-gcc-list] when is it safe to use -mtiny-stack
Date: Mon, 6 Apr 2009 19:16:21 -0700 (PDT)


> The -mtiny-stack may (and should) be used only for devices
> with 0xFF max RAM adderss, i.e. if SP register is 8-bit.
> All devices with 1KB and 2KB FLASH memory satisfy this
> condition, now.

Hello all,
If the memory size itself is 256 Bytes, naturally SP will be 8 bits and where 
is the need to explicitly tell the compiler of mini-stack? Is it to generate 
any stack over flow errors? Thank you.

Regards
Nayani


      




reply via email to

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