I usaully break things down to a nibble at a time if I'm doing binary to
hex.  4 bits is exactly 1 Hex digit.  Then I make a little chart (stick this
chart in your wallet if you cant make it as fast as you can write)
Bin  = Hex=Dec
0000=0=0
0001=1=1
0010=2=2
0011=3=3
0100=4=4
0101=5=5
0110=6=6
0111=7=7
1000=8=8
1001=9=9
1010=A=10
1011=B=11
1100=C=12
1101=D=13
1110=E=14
1111=F=15

To Go From BIN to HEX or HEX to bin
Take any binary number 10101100 break it up into nibbles
1010 1100
Look it up
AC
Take a Hex number
FF
Look it up
1111 1111
Your done


Sometimes I don't do the table I just covert the nibble to decimal then to
hex remembering that 10=A 11=B etc

>From Hex to Decimal is only a little harder.
If I have my table already I conver it back to binary then to decimal. I do
this becase I am faster at Binary to decimal that Hex to decimal.  If you
really want to go from hex to decimal. just remeber that each digit is
16^number digit.  I have a hard time doing that it my head. But since most
hex is expressed two digits at a time you can take the LSD(least significant
digit) and look it up in the table
C=12
Then take the MSD(Most Significant Digit) and times it by 16
A=10*16=160
Add the MSD+LSD and there is you answer
160+12=172

When I do Decimal to Hex I convert the decimal to Binary then I do Binary to
Hex.  I can do Dec to Bin then Bin to Hext a lot faster than Dec to Hex.  I
know my 2^n table better than my 16^n table.

I hope that helped.

Craig

"Dale Frohman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone have a way/tricks in remembering how to do HEX conversions?
>
> _________________________________
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>


_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to