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

Postby MastaTabs » Thu Jan 14, 2010 5:47 am

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

Postby richard » Thu Jan 14, 2010 11:07 am

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

Postby MastaTabs » Thu Jan 14, 2010 3:03 pm

Thanks!

Who is online

Users browsing this forum: No registered users and 3 guests