Uh, I cut that out of the v10 xmega patch file, changed SPH/L but didn't
change the A/B.  So yeah, your way looks like it would work :)


-----Original Message-----
From: Weddington, Eric [mailto:ewedding...@cso.atmel.com] 
Sent: Thursday, February 05, 2009 9:04 PM
To: larry barello; avr-gcc-list@nongnu.org; Anatoly Sokolov
Subject: RE: [avr-gcc-list] WinAvr 20081205 and Xmega AVR

 

> -----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 larry barello
> Sent: Wednesday, February 04, 2009 11:52 AM
> To: avr-gcc-list@nongnu.org
> Subject: [avr-gcc-list] WinAvr 20081205 and Xmega AVR
> 
> So what should really happen is:
> 
>  
> 
>                                   return (  AS2 
> (out,__SP_L__,%B1)     CR_TAB
> 
> +                                               AS2 
> (out,__SP_H__,%A1)); 

Shouldn't %A1 be in __SP_L__, and %B1 be in __SP_H__, like so?:

+                 return (AS2 (out,__SP_L__,%A1)  CR_TAB
+                         AS2 (out,__SP_H__,%B1));




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

Reply via email to