Re: Bit swap?

From: Vijay S Jayaraman (vjayaram@in.ibm.com)
Date: Wed Feb 05 2003 - 17:30:02 GMT-3


man..thats a hell of a chart....I dont know whats more difficult
remembering that chart or converting to binary. ;-)

Regards,
Vijay.

                                                                                                                                         
                      Jay Greenberg
                      <groupstudylist@exe To: Joe Chang <changjoe@earthlink.net>
                      culink.com> cc: ccielab@groupstudy.com
                      Sent by: Subject: Re: Bit swap?
                      nobody@groupstudy.c
                      om
                                                                                                                                         
                                                                                                                                         
                      02/06/2003 01:27 AM
                      Please respond to
                      Jay Greenberg
                                                                                                                                         
                                                                                                                                         

You don't need to go down to binary, just remember the chart below.
Once you memorize it, you'll be able to bitswap in your head:

2323.ABCD.EF12
use the chart to get:
4C4C.5D3B.7F84
then swap every two digits
C4C4.D5B3.F748

0 0
1 8
2 4
3 C
4 2
5 A
6 9
7 E
8 1
9 6
A 5
B D
C 3
D B
E 7
F F

Jay Greenberg, CCIE #11021

On Tue, 2003-02-04 at 13:47, Joe Chang wrote:
> Did I do the following bit swap correctly?
>
>
> 1234 abcd 0000
>
> is
>
> 00010010 00110100 10101011 11001101
>
> swapped:
>
> 01001000 00101100 11010101 10110011
>
> is
>
> 242C D563 0000
> .
.
.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:10 GMT-3