Hi again ! Mardi 20 Mars 2001 23:41, Daniel Morais a écrit: > Swap16 : > > xchg al, ah > > Swap32 : > > xchg al, ah > rol eax , 16 > xchg al, ah Sorry to reply to myself, but by looking to my Intel code, I was wondering how to do the same in Motorola code, and I find a way which is the complete opposite : Swap16 : rol.w #8, d0 Swap32 : rol.w #8, d0 swap d0 rol.w #8, d0 I'm not sure it is the best way ( I'm not a 68K specialist ), but I find it so funny that I wanted to show it ! :-) -- Daniel Morais -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
- Palm to Desktop type conversions Rob Cochran
- Re: Palm to Desktop type conversions Daniel Morais
- RE: Palm to Desktop type conversions Richard Burmeister
- Re: Palm to Desktop type conversions Prashant Gupta
- Re: Palm to Desktop type conversions Daniel Morais
- Re: Palm to Desktop type conversions Daniel Morais
- Re: Palm to Desktop type conversions Marshall Clow
- Re: Palm to Desktop type conversions Prashant Gupta
- Re: Palm to Desktop type conversions DIAMOND JEFF
- Re: Palm to Desktop type conversions DIAMOND JEFF
- Re: Palm to Desktop type conversions DIAMOND JEFF
- Re: Palm to Desktop type conversions DIAMOND JEFF
- RE: Palm to Desktop type conversions Robert Cohen
