Switch from base 2 to base 16

Binary system (base system 2)

In mathematics and digital electronics, binary numbers are a number that is represented in the base number 2 system or binary number system, using only two symbols "0" and "1".

The numerical system based on 2 characters is a counting system that uses a quantitative position, has a base of 2. Each digit is called a bit. Due to the simple deployment of digital electronic circuits using logic gates, the binary system is used by almost all modern computers and computer-based devices.

Switch from base 2 to base 16 Picture 1

Hexadecimal (base number 16)

Hexadecimal, often shortened to "hex", is a digital system made up of 16 characters. The standard number system is called a decimal number (base 10) and uses 10 characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Hexadecimal uses numbers decimal and 6 extra symbols. No numerical symbols represent values ​​greater than 10, so 6 sub-symbols are taken in the English alphabet, namely A, B, C, D, E and F.

Example of converting base 2 system to radix 16:

  1. (1110) 2 = 0Eh
  2. (111001) 2 = 39h
  3. (10011100) 2 = 9Ch

Switch from base 2 to base 16 Picture 2

Table converts base 2 system to radix 16

System number 2 System number 160000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1010 A 1011 B 1100 C 1101 D 1110 E 1111 F

Explore more:

  1. Switch from base 16 to base 2
3.5 ★ | 4 Vote

May be interested

  • Function strtol () in CFunction strtol () in C
    the function long int strtol (const char * str, char ** endptr, int base) in standard c library converts part of the original string in str to a value of long int corresponding to the base base, but must are 2, 8, ..., 36, or special value 0.
  • Ways to Power Off Nintendo SwitchWays to Power Off Nintendo Switch
    despite the growth of the smartphone game market, the nintendo switch is still a handheld gaming device with a distinct and appreciated identity.
  • How to add a passcode to Nintendo SwitchHow to add a passcode to Nintendo Switch
    just because you share a console with someone doesn't mean they can see everything in your account. here's how to set up a password (or pin) on your nintendo switch or switch lite.
  • How to capture screen and record video on Nintendo Switch game consoleHow to capture screen and record video on Nintendo Switch game console
    nintendo switch has a dedicated button for screen capture and now it can even record videos in some games. these screenshots and videos will be saved to the internal storage of the microsd switch or memory card so that players can view and share on facebook or twitter right from the switch.
  • Top 5 Best Ethernet Switch 2021Top 5 Best Ethernet Switch 2021
    in today's article, tipsmake will take you to look at 5 most popular ethernet switches today. we'll talk about the pros and cons of each, and explain what they can do to improve your local area network.
  • Why should you buy the base iPhone 16 instead of the Pro model?Why should you buy the base iPhone 16 instead of the Pro model?
    the iphone 16 lineup is here, and of course most of the attention has been on the pro models. but the base iphone 16 and 16 plus come with a number of improvements that mean you're not missing out if you don't buy the pro.
  •  Top 5 keyboards with red switches worth buying Top 5 keyboards with red switches worth buying
     top 5 keyboards with red switch keyboards to buy in 2023, genuine supply at hacom. genuine cheap red switch mechanical keyboard, brown switch, blue switch.
  • Review of PoE 8 Port TP-Link Switch TL-SG1008P: Indispensable for home securityReview of PoE 8 Port TP-Link Switch TL-SG1008P: Indispensable for home security
    the metal body of the poe tl-sg1008p switch is high quality and gives it a solid appearance. just plug in the power adapter and devices with an ethernet cable, and turn on the power and you're ready to use.
  • How to update games on Nintendo SwitchHow to update games on Nintendo Switch
    last time, the nintendo switch games had updates and bug fixes. sometimes, those updates add huge features, like new characters or levels. here's how to ensure your game on the switch has been updated regularly.
  • How to turn an old router into a switchHow to turn an old router into a switch
    how to configure the router as a switch? most likely you will ask this question if you are planning to expand your home network, but only have an ethernet router, not a switch.