Big Endian and Little Endian
Big endian is the way we normally deal with numbers: the most significant byte or digits are placed leftmost in the structure (the big end). The Internet protocol (TCP/IP) also uses the big endian order regardless of the hardware at either end.
Some CPUs, most notably x86 CPUs, deal with words in little endian order, which places the least significant digits on the left (the little end). Since numbers are calculated by the CPU starting with the least significant digits, little endian numbers are already set up in the required processing order.
Bi-Endian
A bi-endian machine, such as the PowerPC, supports both big endian and little endian words.
In the following example, the decimal number 23,041 (equivalent to 5A01 in hex) is shown in both byte orders.
BYTE ORDER FOR NUMBER 23,041 (5A01 in hex) Big Endian (BE) Little Endian (LE) 5A01 015A CPU BYTE ORDER EXAMPLES Big Endian Little Endian Motorola 68K x86 (Intel, AMD, etc.) IBM mainframes PDP-11, VAX Bi-Endian CPUs PowerPC Itanium
Choosing Byte Order
TIFF images store pixel values as words, and byte order makes a difference; witness this Photoshop dialog box asking which platform you are saving to. On the other hand, GIFs and JPEGs are not word oriented, and byte order does not matter.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Sound Byte 3.9.7 (Windows)
- Sound Byte turns your computer into a card machine. It is very similar to the so-called cart machines used at radio stations in the past. Each recording - a song, jingle, advertisement, etc, was on a cartidge, which could be quickly selected and played. Sound Byte brings the cart machine...
- Software downloads 2009-11-19
- Sound Byte 3.9.7 (Mac)
- Sound Byte is a computerized cart machine for the Macintosh. It is very similar to the so-called cart machines used at radio stations in the past. Each recording - a song, jingle, advertisement, etc, was on a cartidge, which could be quickly selected and played. Sound Byte brings the cart...
- Software downloads 2009-11-19
- EmEditor Professional 9.05 (Windows)
- EmEditor Professional is a lightweight but extensible, text editor for Windows, which supports JavaScript or VBScript macros, Unicode (allowing for multi-language support), text encoding support (automatic encoding detection, Byte Order Mark support, file reload with a different encoding, detection of encoding errors), plug-ins, syntax highlighting (including embedded scripts in HTML,...
- Software downloads 2009-11-19
- TunesTuner 0.96b (Mac)
- Tunes Tuner is tag renamer of iTunes. Like file renamer, want not it to have processed a tag? In Tunes Tuner, can be as follows. Change string. Find and replace in tag string. Add string for top and end. Trimming space from top and end. Delete designated characters count...
- Software downloads 2009-09-16
- Resize Picture for BlackBerry 1.53 (Mobile)
- Resize picture to smaller dimension in order to send it out as a MMS or reduce its byte size. You can decide it dimension by percent or width or height. Rotate picture by 0, 90, 180, 270 degrees. This software is useful when you want to make pictures in your...
- Software downloads 2009-08-15
- Binary Comparison of Files 3.0 (Windows)
- Binary Comparison of Files is the utility for byte-by-byte comparison of two files in order to find possible discrepancies. Consistently read-out bytes of files are compared in a binary mode. The address, code and symbolical representation are shown for different bytes. The codes may be shown as decimal, hexadecimal, octal...
- Software downloads 2009-06-26
- Google drops "don't be evil" motto
- Google drops "don't be evil" mottoHow about this one:"Google: Taisetsu na mono protect my balls"I have a few for them:1. No, you can't contact us2. Always in BetaI will miss it.Yes, it's easy to criticize. But the ability of someone to ask in a meeting, "is...
- Discussion threads 2009-04-01
- 3D Active Button Magic 9.3 (Windows)
- 3D Active Button Magic is the ultimate button ActiveX control developed with the purpose of replacing the old fashioned Windows flat-square button in applications written with the most diffused development environments that accept ActiveX controls such as Visual Studio 6.0, Visual Studio.NET and Delphi. No matter if you are developing...
- Software downloads 2009-01-07
- 6-Bit Binary Compression 1.2.1 (Windows)
- This is a fast compression routine based on a 4-byte data word translation via 6-bit bit parity table. 6 bit table entries were computed by omitting last two bits (having decimal values 1 and 2) in a single byte (0 to 255) giving 64 index entries combination s per data...
- Software downloads 2008-09-17
- Apple ships (long overdue) iPhone security patches
- Finally, after months of waiting, iPhone users finally get security fixes for a batch of known software vulnerabilities. The latest iPhone 2.0 and iPod Touch 2.0 update patches at least 13 documented vulnerabilities, including several code execution holes in the Safari mobile Web browser. The...
- Blog posts 2008-07-11
- Kaboom 3.0.0.38 (Windows)
- Kaboom is an utility for software and web developers of any kind. It is usefull for everybody who has to translate text and writes foreign text in code pages different than the one installed on his local computer. Sisulizer helps you with foreign code pages and if you have to...
- Software downloads 2008-06-13
- 50 questions asked and answered on Android
- At the very end of the Google I/O 2008 conference last week the Android development team hosted a great fireside chat on the new mobile platform. The session was free-form, completely driven by questions from the audience. Although Google was trying to keep mum on a number of issues, several...
- Blog posts 2008-06-05
- We've been acquired: CBS buys CNET
- We've been acquired: CBS buys CNETRE: We've been acquired: CBS buys CNETMy sincere condolences ;)ThanksThanks for letting me know .. I will now promptly discontinue using any of your sites. I don't read anything the elitist monopolies decide shove down our throats.Bye .. it was nice while it lasted....
- Discussion threads 2008-05-15
- Is Java Windows for Unix?
- Is Java Windows for Unix?Amen brother!Java completely violates the Coupling/Cohesion rule of software quality. A "module" in Java consists of 5/6+ files containing interfaces, beans, functions, etc. This makes for low cohesion (BAD!). All of these files also need to be connected to each other plus those "frameworks". This introduces...
- Discussion threads 2008-04-07
- Linux tool speeds up computer forensics for cops
- Linux tool speeds up computer forensics for copsLinux tool speeds up computer forensics for copsWow, Austrilia must really be behind the curve on this one which explains why they are using linux. Here in the good ol' U.S. of A. forensic tools have been available for quite some time....
- Discussion threads 2008-03-06
- Dump File (Java) 5.0 (Windows)
- File dump utilities are not the place for graphical user interfaces. They must be fast, simple, and correct, because they will be used to dump very large files, and the resulting dump file is usually five times bigger than the original input file. In this application, you will need to...
- Software downloads 2008-02-18
- Comcast fesses to FCC: yea we have right to, and we do, mess with some P2P packets
- Comcast fesses to FCC: yea we have right to, and we do, mess with some P2P packetsComplex grey areaIn principle I believe that it is right for Comcast to manage their network to the benefit of all users.In the UK some ISPs names currently escape me routinely used to switch...
- Discussion threads 2008-02-13
- Embedded Malware Detection Using Markov n-grams
- Embedded malware is a recently discovered security threat that allows malcode to be hidden inside a benign file. It has been shown that embedded malware is not detected by commercial antivirus software even when the malware signature is present in the antivirus database. This paper presents a novel anomaly detection...
- White papers 2008-02-11
- A difference in philosophy
- A difference in philosophyDeveloper HandholdingMS has worked hard to develop software components that can be used to more efficiently build robust software. This is a Good Thing, and I don't think it is in the least bit inconsistent with "Unix" philosophy.The problem is, when faced with a choice between...
- Discussion threads 2008-01-29
- Any Base Converter 1 (Windows)
- Any Base Converter is an easy-to-use tool for converting 8-bit to 1024-bit integer between bases 2 through 36. Key Features are: Support 8-bit to 2048-bit integer. Convert integer between bases 2 through 36. Perform conversion between large integer and ASCII string. Toggle big-edian / little-edian byte order. This version is...
- Software downloads 2007-11-09
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.

- Learn more >>
- Keep Up With The Latest In Document Management with The DocuMentor.
-
Doc delivers the scoop on today's enterprise content management, printer maintenance, and all other issues related to document management. It's the DocuMentor Blog.
- Learn more >>
- The more you simplify, the more you save
-
When you transition from your existing Red Hat environment to SUSE Linux Enterprise from Novell, you can recognize dramatic cost savings, perhaps as much 50%

- Learn more >>
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
Meet Doc
-
Here to help you with your Document Management Needs
- Check out Doc’s Blog on ZDNet
- Help your company, help the earth I want to share with you the Environmental Defense Fund Paper Calculator, which allows you to gauge your organization's environmental impact.
- Which is Greener: Paper or Digital? The Answer May Surprise You Anything we can do to reduce paper consumption is good. But what about the impact of digital waste?
-
Produced by
ZDNet and






