Re: [algogeeks] Swap the LSB and MSB within themself of given no.

2010-11-20 Thread coolfrog$
Divesh Dixt sorry last output should be 0xEC... On Sun, Nov 21, 2010 at 9:11 AM, Divesh Dixit < dixit.coolfrog.div...@gmail.com> wrote: > assuming all are 8bit no. > input = 0x46 (0100 0110) > output = 0x26 ( 0010 0110 ) > input = 0x75 (0111 0101) > output = 0xFC (1110 1010 ) > > Algorithm

[algogeeks] Swap the LSB and MSB within themself of given no.

2010-11-20 Thread Divesh Dixit
assuming all are 8bit no. input = 0x46 (0100 0110) output = 0x26 ( 0010 0110 ) input = 0x75 (0111 0101) output = 0xFC (1110 1010 ) Algorithm..??? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to alg