This is already done via carry. Also, all possible swaps/moves are envolved. ~d
> Is it not better to perform some of these using right-rotates and masking? > For example, left-shifting a char by 7 could be done by a right-rotate of > 1, then anding with 0x80. The same sort of thing can be done with ints and > longs too. Also, for ints and longs, you can use the byte-swap instruction > and masking for doing jumps of 8. > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/
