Big endian and litter endian

Source: Internet
Author: User

Big endian is a big end, and litter endian is a small end. It is very clear, but it is difficult to remember who it is. Every time this concept is involved, I Will Google it, wasting my energy.

How can we always remember them? After searching on the Internet, many people have such confusions. Some people have proposed a better way to remember:

Big endian and litter endian are translated into high-end and low-end by some authors. For example, when the number 0x1122 is stored in the memory,

The big endian approach is: 0x11 0x22, low address put low byte, high address put high (tail) byte.

Litter endian's practice is: 0x22 0x11, low address put high (tail) bytes, high address put low byte.

Big endian and litter endian

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.