[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Single page stack suggestion
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Single page stack suggestion |
Date: |
Wed, 11 Jul 2007 10:40:10 +0200 |
User-agent: |
Mutt/1.5.11 |
As David Brown wrote:
> But if the stack were always within one 256-byte page, which is
> probably the case in the majority of avr programs (certainly on
> small AVRs), then only the SP_L register needs to updated. Then the
> prologue and epilogue would be reduced to 4 and 3 instructions
> respectively.
IMHO that's exactly what the -mtiny-stack option does.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)