To convert a binary number into hexadecimal format, first of all pad the binary number with leading zeros on the left most side to make sure that the binary number contains multiples of four bits

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

Binary to Hexadecimal Conversion

To convert a binary number into hexadecimal format, first of all pad the binary number with leading zeros on the left most side to make sure that the binary number contains multiples of four bits. After that follow the following two steps:

  1. First, break the binary number into 4-bit sections from the LSB to the MSB.
  2. And then convert the 4-bit binary number to its Hex equivalent.

Let us take an example to better understand the method. Let we have any binary number 100 1110 1101 0011 to be converted into its corresponding hexadecimal number. Then we shall apply above two steps as shown below:

4-bit binary number section

0100

1110

1101

0011

Hexadecimal value

4

E

D

3


Thus the hexadecimal value, corresponding to the binary number 100 1110 1101 0011 is 4ED3.

Hexadecimal to Binary Conversion

To convert a hexadecimal number into a binary number we follow the following two steps:

  1. First, convert the Hexadecimal number to its 4-bit binary equivalent.
  2. And then combine the 4-bit sections by removing the spaces.

To better understand the procedure let us take an example of the above hexadecimal number, that is 4ED3 and apply these two steps on it as follows:

Hexadecimal value

4

E

D

3

4-bit binary number section

0100

1110

1101

0011

Thus for the hexadecimal number 4ED3, we get the corresponding binary number

= 0100 1110 1101 0011

This is the expected answer.

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20

 
 

page 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28

Next page

 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 
Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor