--- On Sun, 2/22/09, Georg-Johann Lay wrote:
> You can do this by introducing two global register
> variables like
>
> register foo_t * pfoo asm ("r2");
>
>
> Also note the command line option -ffixed-2 -ffixed-3 that
> turn R2/R3 into fixed registers (in contrast to R2/R3 beeing
> call-saved
Lin Nan schrieb:
Hello, everyone!
In my project, I need to bind four registers to two 16 bit pointers because
the two pointers are used frequently. But I don't know exactly how to do it.
Does anyone know something about it?
You can do this by introducing two global register variables like
r
> -Original Message-
> From:
> avr-gcc-list-bounces+eweddington=cso.atmel@nongnu.org
> [mailto:avr-gcc-list-bounces+eweddington=cso.atmel@nongnu.
> org] On Behalf Of Lin Nan
> Sent: Saturday, February 21, 2009 8:41 AM
> To: avr-gcc-list@nongnu.org
> Subject: [avr-gcc-list] How
Hello, everyone!
In my project, I need to bind four registers to two 16 bit pointers because
the two pointers are used frequently. But I don't know exactly how to do it.
Does anyone know something about it?
___
AVR-GCC-list mailing list
AVR-GCC-list@
--- On Sat, 2/21/09, Weddington, Eric wrote:
> > It works for me.
> >
> > See attached demo. After the build look at the .map
> file and
> > the disassembly file (.dis).
> >
> > Just realize that because your variable is now in the
> .test
> Attachment error. Trying again for the list.
Th
--- On Sat, 2/21/09, Georg-Johann Lay wrote:
> The trouble might return if .data/.bss will grow and then
> overlap(s)
No sir, I needed 256 bytes buffers two and the other variables may total to
about 10 or so.
> The problem is that you cannot
> introduce holes in a section, i.e. start with