Dan Hursh <[EMAIL PROTECTED]> wrote:
How about a context->freakish that would allow
rotl Pdest, n, 5 # rotate 5 lowest ordered bits leaving
overkill probably. By 8, 16, 32, 64 ought do it. And that looks too much.
Yeah. Larry's note about the limited utility of this is a point well taken too.
I think a simple:
rot[lr] dest, num_rotates, bits_to_rotate
with 0 in bits_to_rotate meaning "all of them", and unrotated bits getting masked to 0 is fine.
--
Dan
--------------------------------------it's like this------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk