"Anatoly Sokolov" <[EMAIL PROTECTED]> wrote: >> (For new AVRs, it's actually initialed three times: the hardware >> itself initializes the SP to the top of internal RAM now.)
> You have full list of these devices? For them it is possible to > remove initialization of stack pointer in the startup code. No, I don't. I've only noticed it in a recent datasheet, it appears to be a very recent change. (E. g. the ATmega1281 we are using still start out with SP set to 0.) I think the initialization would better remain in the startup code, as it also allows people to customize their stack location easily. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
