Thanks Chris, Finally got it. That formula makes it a piece of cake !!!

-----Original Message-----
From: Chris Cell [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Bit Swapping in SR/TLB [7:20214]


Basically what you do is divide the 8 bit octal number into two four bit
numbers, swap the first four bits with the last four, then read it backwards
in each of the two four bit parts. (confusing, but follow below)

0110.1234.5678 

I'll take the first octet:
0110

Seperate it into two four bit parts:
01  (split)  10

make it binary:
0000 0001  (split)  0001 0000

read it backwards:
1000 0000  (split) 0000 1000

bring it back to octal:
80  (split)  08

make it one 8 bit octal number again:
8008

Do that for all the parts, and you have completed the bit swapping.




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=20221&t=20214
--------------------------------------------------
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