Meaning from 0x00 to 0xFF

Source: Internet
Author: User

For binary, the 8-bit binary we call a byte, the binary expression range value is from 0b00000000~0b11111111, and our program is in hexadecimal representation from 0x00 to 0xFF, here teaches you a binary conversion decimal and hexadecimal method, Binary 4-bit group, followed by 8,4,2,1 law such as 1010, then from the highest bit, the number is 8*1+4*0+2*1+1*0 = 10, then the decimal is 10, hexadecimal is 0xA. In particular, when binary to hexadecimal, a hexadecimal one is exactly the same as the binary 4-bit correspondence, these people do not need to force memory, with a few times on the proficiency.

Meaning from 0x00 to 0xFF

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.