Thought Leadership

Another embedded software article: Endianness

Yet another in my series of article at embedded.com has been published:

Endianness

For most programmers, details of computer architecture are of no interest or importance. Even embedded developers, who normally do concern themselves with details, when programming in a high level language, ignore matters like cache configuration. Factors like memory location and size do matter, when looking at the project as a whole, but even these parameters do not influence day to day coding.

77842C67-E4FB-4E42-9DA5-F0DC469679BB

The order in which bytes are stored in a word – the endianness – of the CPU in use can often also be ignored. However, once in a while, an appreciation of this matter is critical. The same consideration applies to transmission of data; what order are bytes sent down a serial line or over a network? This article reviews exactly what endianness means and how it affects embedded software.

Colin Walls

I have over thirty years experience in the electronics industry, largely dedicated to embedded software. A frequent presenter at conferences and seminars and author of numerous technical articles and two books on embedded software, I am a member of the marketing team of the Mentor Graphics Embedded Systems Division, and am based in the UK. Away from work, I have a wide range of interests including photography and trying to point my two daughters in the right direction in life. Learn more about Colin, including his go-to karaoke song and the best parts of being British: http://go.mentor.com/3_acv

More from this author

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.stage.sw.siemens.com/embedded-software/2015/10/26/another-embedded-software-article-endianness/