avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Re: Far addresses in flash


From: Björn Haase
Subject: Re: [avr-libc-dev] Re: Far addresses in flash
Date: Sat, 4 Jun 2005 01:08:16 +0200
User-agent: KMail/1.7.1

Am Freitag, 3. Juni 2005 00:25 schrieb E. Weddington:
> Somebody wrote:
> >>From: "E. Weddington" <address@hidden>
> >>
> >>
> >>You're right, that's the best, and most needed solution.
> >>However, *is* it possible to have 24-bit pointers in GCC
> >>(as opposed to 32-bit)? How difficult would that be?
> >
> >- Likely not worth it, as GCC also presumes data to be aligned on
> >  power-of-two unit boundaries,
>
> Such as 2^0.
> IIRC the AVR target has an alignment of 1.

True, there is only an alignment requirement during register allocation and 
for parameter passing IIUC in order to be able to make use of movw 
instructions on enhanced cores.





reply via email to

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