Odd "endianness" [was Re: RE: Base 64 posts to the list]

Chuck Guzis cclist at sydex.com
Fri Dec 9 00:25:32 CST 2016


On 12/08/2016 08:46 PM, Cameron Kaiser wrote:
>>> I have an old computer that was intended to do FFTs. It has a 
>>> complete bit order swap, MSB to LSB, instruction.
>> 
>> Well, there's the PowerPC "endian" mode (settable in the MSR)--but
>> it's just "sort of"--the little-endian mode simply XORs the lower 3
>> bits of the address with 111 (i.e. "flips them").
> 
> Or you could use the PowerPC byte-swapped instructions (lwbrx, etc.)

Forgot to mention the ARM CPUs/MCUs.  Supports both, for people who
can't make up their mind.

--Chuck


More information about the cctalk mailing list