RE: canonical to non-canonical [7:42576]

2002-04-26 Thread A. Ed

This method really helped me, it takes decimal to binary to hex conversion
and back again.  As long as you can do decimal to binary and you know the
first line hex conversion you are set ...

the example will probably make more sense than the instructions.

The method (thanks Dennis)

step 1:  Get decimal to 8 bit binary
step 2:  Split 8 bit binary in half with following table:
 
 Dec:   0
 Bin:   0 0 0 00 0 0 0
 Conversion Factor: 8 4 2 18 4 2 1
 Sum:   0 0 0 00 0 0 0
 Hex: 0  0

So, 0 Decimal is 00 Hex
 
step 3:  When Binary bit is set to "1" bring conversion factor number to the
Sum line.
step 4:  Write Hex numbers per normal Hex conversion table below.

Normal hex table looks like this:

0123456789 A  B  C  D  E  F
0123456789 10 11 12 13 14 15


Example 1.  
What is 157 in Hex?

 Decimal:   157
 Bin:   1 0 0 1   1 1 0 1
 Conversion Factor: 8 4 2 1   8 4 2 1
 Sum:   8 0 0 1 =98 4 0 1 =13
 Hex: 9  D
 
Answer:  157 Decimal is 9D Hex

Example 2.
What is 68 Decimal in Hex?

 Decimal:   68
 Bin:   0 1 0 0   0 1 0 0
 Conversion Factor: 8 4 2 1   8 4 2 1
 Sum:   0 4 0 0 =40 4 0 0 = 4
 Hex: 4 4

Answer:  68 in Decimal is 44 Hex

Example 3.
What is FA Hex in Decimal?

 Hex: FA
 Sum:   8 4 2 1 =15  8 0 2 0 =10
 Conversion Factor: 8 4 2 1  8 4 2 1
 Bin:   1 1 1 1  1 0 1 0
 Decimal:   250

Like I said, the examples are probably better explanation than my steps.

Ed



Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=42663&t=42576
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: canonical to non-canonical [7:42576]

2002-04-25 Thread Anthony Pace

084C2A6E195D3B7F can be written and another row above it with the HEX
numbers in order 0-F.

Anthony Pace

""Persio Pucci""  wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there any formula to transform a hexadec pair of number from canonical
to
> non-canonical format beides the chart presented on Caslow's book? (SR/TLB)
>
> Persio




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=42579&t=42576
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



canonical to non-canonical [7:42576]

2002-04-25 Thread Persio Pucci

Is there any formula to transform a hexadec pair of number from canonical to
non-canonical format beides the chart presented on Caslow's book? (SR/TLB)

Persio




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=42576&t=42576
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]