Decimal, 16 binary, binary conversion

Source: Internet
Author: User

1 1 1 1 1 1 1 1

128 64 32 16 8 4 2 1


150=128+16+4+2=10010110

127=64+32+16+8+4+2+1=01111111


50=32+16+2=00110010


0123456789abcdef

0x.11 0x.12 0x.13 0x.14 0x.15 0x.16

11 12 13 14 15 16

1011 1100 1101 1110 1111 10000


General program code is the 16 mechanism written, the execution of the file or program code is binary write, decimal is commonly used in the IP division;


As we all know, IP is made up of four numbers, here, let's first look at the Class 3 commonly used IP

Class A IP segment 0.0.0.0 to 127.255.255.255

Class B IP segment 128.0.0.0 to 191.255.255.255

Class C IP segment 192.0.0.0 to 223.255.255.255


This article is from "Try to be brave" blog, declined reprint!

Decimal, 16 binary, binary conversion

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.