[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] code for 90s4433 is using SPH
From: |
Volkmar Dierkes |
Subject: |
Re: [avr-gcc-list] code for 90s4433 is using SPH |
Date: |
Sun, 23 Feb 2003 19:09:09 +0100 |
User-agent: |
40tude_Dialog/2.0.3.1 Hamster/2.0.0.1 |
On Sun, 23 Feb 2003 18:14:52 +0100, Marek Michalkiewicz wrote:
>> Strange. Than i'd say that -mtiny-stack doesn't work as announced.
>
> That's because -mtiny-stack can be used on devices with SPH, too.
> SPH is initialized at startup, and never changed later. This is
> fine if we know the stack fits within a 256-byte aligned page.
But another issue what happens at the time when accessing local
variables: The Y-register is loaded with SPH and SPL and an offset.
If tiny-stack is used, only SPL is valid, so YH should be loaded
with 0 instead of SPH. My opinion.
Volkmar
- [avr-gcc-list] code for 90s4433 is using SPH, Volkmar Dierkes, 2003/02/19
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Joerg Wunsch, 2003/02/20
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Volkmar Dierkes, 2003/02/20
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Joerg Wunsch, 2003/02/22
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Volkmar Dierkes, 2003/02/23
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Marek Michalkiewicz, 2003/02/23
- Re: [avr-gcc-list] code for 90s4433 is using SPH,
Volkmar Dierkes <=
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Marek Michalkiewicz, 2003/02/23
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Volkmar Dierkes, 2003/02/23
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Marek Michalkiewicz, 2003/02/24
- Re: [avr-gcc-list] code for 90s4433 is using SPH, Joerg Wunsch, 2003/02/24