can any one explain it using an example... let say my nibble is 0100... i have to print 0010... in one go using bitwise operators... please explain through example
@ sharad ... your code is to swap two nibbles in a character On Sun, Jun 13, 2010 at 1:39 PM, jaladhi dave <[email protected]>wrote: > Write a c-macro to use assembly swap opcode. > > On Sat, Jun 12, 2010 at 9:35 PM, jalaj jaiswal > <[email protected]>wrote: > >> >> write an algorithm to reverse a nibble in one pass...using bitwise >> operators >> -- >> With Regards, >> Jalaj Jaiswal >> +919026283397 >> B.TECH IT >> IIIT ALLAHABAD >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<algogeeks%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- With Regards, Jalaj Jaiswal +919026283397 B.TECH IT IIIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
