# Binary Hexadecimal .... etc ...

Discussion in 'Homework Help' started by MegaMan, Sep 30, 2009.

1. ### MegaMan Thread Starter Member

Sep 25, 2009
53
0
Hi & at this site they say

my question is , do we count four digits from left to right ?

in other words , how can we deal with this ?

010111101011010100101

i have added the Bold 1 , how can we solve now ?

i may ask another questions ...
thanks a lot .

2. ### blueroomelectronics AAC Fanatic!

Jul 22, 2007
1,758
98
Depends on if it's big or little endian.

3. ### MegaMan Thread Starter Member

Sep 25, 2009
53
0
bre = not clear .
endian = ?

4. ### beenthere Retired Moderator

Apr 20, 2004
15,815
282
Endian notation can be a bit mind-bending - http://en.wikipedia.org/wiki/Endianness

You are probably safe to assume the same order of significance as in decimal notation. The grouping into bytes should proceed from the rightmost bit, so your binary value 010111101011010100101 parses to 0 1011 1101 0110 1010 0101, or 0x0BD6A5

5. ### THE_RB AAC Fanatic!

Feb 11, 2008
5,435
1,305
http://www.romanblack.com/hexcon.htm

You can enter data in dec/hex/binary and it shows the same data in all 3 formats. It also lets you edit data in any of the 3 formats, then press enter and the edit is updated for all 3 formats. (like you can add "1" to the end of a binary number or shift bits << or >> in a binary number and see the result).

6. ### blueroomelectronics AAC Fanatic!

Jul 22, 2007
1,758
98
Perhaps you can stump your teacher, ask them.

7. ### MegaMan Thread Starter Member

Sep 25, 2009
53
0
beenthere : i understand now , thanks , .

thanks all .

8. ### Ratch New Member

Mar 20, 2007
1,068
3
MegaMan,

You always group binary digits from the right to the left if you are converting binary to a power of 2 base like octal, hexadecimal, etc.

--------------------------------------------------------------------------

blueroomelectronics,

Only if you are converting to a nonpower of 2 base, such as decimal.

Ratch

9. ### blueroomelectronics AAC Fanatic!

Jul 22, 2007
1,758
98
Endian determines which way you read the binary number, either left to right or right to left.

10. ### Ratch New Member

Mar 20, 2007
1,068
3
blueroomelectronic,

Endian determines the way a number written in a power of 2 base is interpreted to a nonpower of 2 base.

Ratch

11. ### blueroomelectronics AAC Fanatic!

Jul 22, 2007
1,758
98
Gaak you're right, long day.