Hex | F | E | D | C | B | A | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
Binary | 1111 | 1110 | 1101 | 1100 | 1011 | 1010 | 1001 | 1000 | 0111 | 0110 | 0101 | 0100 | 0011 | 0010 | 0001 |
Decimal | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
Example 1. Consider Binary: 1000100100110111 (a 16-bit Byte)STEP 1 Break the Byte into 'quartets' - 1000 1001 0011 0111 STEP 2 Use the table above to covert each quartet to its Hex equivalent - 8937 Therefore ... 1000100100110111 = 8937Hex |
Example 2. Consider Binary 1111110001000001STEP 1 Break the Byte into 'quartets' - 1111 1100 0100 0001 STEP 2 Use the table above to covert each quartet to its Hex equivalent - FC41 Therefore ... 1111110001000001 = FC41Hex |
Example 3. Consider Binary 11010101STEP 1 Break the Byte into 'quartets' - 1101 0101 STEP 2 Use the table above to covert each quartet to its Hex equivalent - D5 Therefore ... 11010101 = D5Hex Posted by: MUNEEB |
If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates !
Complicated ?
If you have any question about any Post, Don't hesitate to ask question.You can simply drop a comment below post or contact via contact Us form by Clicking Here Your Feedback always appreciated.
0 comments :
Post a Comment