avr-gcc-list
[Top][All Lists]
Advanced

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

RE: [avr-gcc-list] Binding a register pair to a pointer


From: Parthasaradhi Nayani
Subject: RE: [avr-gcc-list] Binding a register pair to a pointer
Date: Tue, 9 Dec 2008 22:32:41 -0800 (PST)

Hello Weddington,
Thanks for the mail, but the FAQ example is as follows:

register unsigned char counter asm ("r3")

The above is an example for a single byte value, but I would like to bind a pointer which is a 16 bit value and perhaps the X register may be used. I tried using "constraints" also but the complier complains. An example line of code on how to do this will be highly appreciated. Thank you.

Regards
Nayani

--- On Wed, 12/10/08, Weddington, Eric <address@hidden> wrote:
From: Weddington, Eric <address@hidden>
Subject: RE: [avr-gcc-list] Binding a register pair to a pointer
To: address@hidden, address@hidden
Date: Wednesday, December 10, 2008, 12:45 AM

 
This is describe in the avr-libc user manual, in the FAQ.


reply via email to

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