Endianess

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
MastaTabs
Junior Member
Posts: 4
Joined: Thu Jan 14, 2010 3:18 am

Endianess

Post by MastaTabs »

Hi,

I've been browsing through a lot of documentation but wasn't able to find an essential information.
What byte order does an xcore processor use ?

I guess its operating in little endian byte order ?

regs
Tobias


richard
Respected Member
Posts: 318
Joined: Tue Dec 15, 2009 12:46 am

Post by richard »

Memory is little endian (least significant byte at lowest address). Channels can be considered to be big endian (most significant byte sent first over the the channel).

The byterev instruction reverses bytes in a word, allowing efficient access to data stored in big endian format.
MastaTabs
Junior Member
Posts: 4
Joined: Thu Jan 14, 2010 3:18 am

Post by MastaTabs »

Thanks!