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 <[EMAIL PROTECTED]> wrote:
From: Weddington, Eric <[EMAIL PROTECTED]>
Subject: RE: [avr-gcc-list] Binding a register pair to a pointer
To: [EMAIL PROTECTED], avr-gcc-list@nongnu.org
Date: Wednesday, December 10, 2008, 12:45 AM

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



      
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to