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

2008-12-10 Thread Georg-Johann Lay
register unsigned char counter asm (r3) Pointers live in register pairs, you must not specify an odd number. However, I guess that specifying a GPR explicitly is not what you want? You can find some examples on the following page. The page is in german but the examples should give you some

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

2008-12-09 Thread Weddington, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Parthasaradhi Nayani Sent: Tuesday, December 09, 2008 11:45 AM To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] Binding a register pair to a pointer Hello all, I have a time critical

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

2008-12-09 Thread Parthasaradhi Nayani
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