solomon_13000
04-21-2007, 09:31 AM
How do I convert octit to 3 bit binary and hexit to 4 bit binary using calculation?
Regards.
Each digit in octal is three bits. Each bit in hexidecimal is 4 bits. For any base that is a power of 2, say 2^n, for every digit of that base, you have n bits.
For example: in base 8=2^3, the number 13634 breaks up as follows:
1 ..... 3 ..... 6 ..... 3 ..... 4
001 011 110 011 100
So 13634<sub>8</sub> = 001011110011100<sub>2</sub>.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.