Little Endian to Big Endian

Naushit Sakarvadia naushit at
Sat Feb 10 10:38:22 EST 2001


I am in need to write most efficint little endian to big endian
conversion function.
I know it can be done best in assembly with one instruction. can
somebody tell me what instruction will do that?

if possible if you can write small assebly fuction for me then it would
be great because I dont know anything in Powerpc assembly nor I have
some sample code to follow..


** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list