• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

I need help converting data to hex

LeetViet

Platinum Member
I'm trying to figure out what

0b 00 00 00 00 00 00 00 03 00 00 00

is in hex

I know that

0b 00 00 00 00 00 00 00 01 00 00 00

is 0xff

Any help is much appreciated. 🙂
 
ok here's how:

start menu->run->calc.exe

scientific mode enable
switch to binary
enter the binary number
then switch to hex

voila
 
Originally posted by: LeetViet
I'm trying to figure out what

0b 00 00 00 00 00 00 00 03 00 00 00

is in hex

I know that

0b 00 00 00 00 00 00 00 01 00 00 00

is 0xff

Any help is much appreciated. 🙂

Huh? That IS hex. What other number system would have 0b?
 
Originally posted by: dighn
ok here's how:

start menu->run->calc.exe

scientific mode enable
switch to binary
enter the binary number
then switch to hex

voila

I can't enter the letter B in Binary...
 
Originally posted by: LeetViet
Originally posted by: dighn
ok here's how:

start menu->run->calc.exe

scientific mode enable
switch to binary
enter the binary number
then switch to hex

voila

I can't enter the letter B in Binary...

0b simply means the number after is binary
0x means the number after is hex

so don't enter those parts
 
Originally posted by: BingBongWongFooey
Originally posted by: LeetViet
I'm trying to figure out what

0b 00 00 00 00 00 00 00 03 00 00 00

is in hex

I know that

0b 00 00 00 00 00 00 00 01 00 00 00

is 0xff

Any help is much appreciated. 🙂

Huh? That IS hex. What other number system would have 0b?


Which system uses the 0x_ _ _ _ _ _ ... ?
 
Originally posted by: dighn
Originally posted by: LeetViet
Originally posted by: dighn
ok here's how:

start menu->run->calc.exe

scientific mode enable
switch to binary
enter the binary number
then switch to hex

voila

I can't enter the letter B in Binary...

0b simply means the number after is binary
0x means the number after is hex

so don't enter those parts

Binary has a 3?
 
Originally posted by: LeetViet
Originally posted by: BingBongWongFooey
Originally posted by: LeetViet
I'm trying to figure out what

0b 00 00 00 00 00 00 00 03 00 00 00

is in hex

I know that

0b 00 00 00 00 00 00 00 01 00 00 00

is 0xff

Any help is much appreciated. 🙂

Huh? That IS hex. What other number system would have 0b?


Which system uses the 0x_ _ _ _ _ _ ... ?

hex.
 
Originally posted by: BingBongWongFooey
Originally posted by: LeetViet
Originally posted by: BingBongWongFooey
Originally posted by: LeetViet
I'm trying to figure out what

0b 00 00 00 00 00 00 00 03 00 00 00

is in hex

I know that

0b 00 00 00 00 00 00 00 01 00 00 00

is 0xff

Any help is much appreciated. 🙂

Huh? That IS hex. What other number system would have 0b?


Which system uses the 0x_ _ _ _ _ _ ... ?

hex.

And how would I go about converting 0b 00 00 00 00 00 00 00 03 00 00 00 to 0x _ _ _ _ .... ?

Sorry I'm a total noob.
 
dang this is sooo easy guys.

Here's a table of translation from bin to hex

first column is binary : second column is hex
0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
1010 = A or "10"
1011 = B or "11"
1100 = C or "12"
1101 = D or "13"
1110 = E or "14"
1111 = F or "15"

So you take every four bits and it turns into one hex digit.

so like:

0b 00 00 00 00 00 00 00 01 00 00 00
=
0b 00 0000 0000 0000 0100 0000
=
0x--0-----0-----0-----0-----4-----0 (the very first part of the binary data has only 2bits "00" that still = 0 in hex)
=
0x000040

So let's do the one you were asking about...

0b 00 00 00 00 00 00 00 03 00 00 00
=
0b 00 0000 0000 0000 0300 0000
=
0x--0-----0-----0-----0--??!?! <--- what the hell? You can't have a 3 in binary!!!! 😕

I give up. :/
 
Originally posted by: LeetViet

And how would I go about converting 0b 00 00 00 00 00 00 00 03 00 00 00 to 0x _ _ _ _ .... ?

Sorry I'm a total noob.

Write an 0x in front of it? I dunno. I don't know where you're getting this data from or what, but all I know is that hex is the only number system I know of that has 3's and b's; binary only has 0 and 1, and decimal and octal don't have letters.
 
Back
Top