There's another reason (beyond sign-up to spam) - you can't download or see attachments without registering.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: BigDumbDinosaur on July 24, 2010, 02:32 AMYes, if the # of shifts is the same, but in my specific case the version with asl rol would need 6 shifts, two more (+6 bytes and 14 Tcycles) than the lsr ror variant. Anyway, I made a small change to the original version to free the use of the Y-register, which lengthens the execution time from 57 to 60 TCycles (w/o RTS) but this is more than worth it, because the calling program doesn't need to preserve the register.
...
Incidentally, direction of shift doesn't matter if the total shifts end up being the same. The routine could be made to work with left shifts, but there's no advantage one way or the other.