how to shift with only + – | & operations

  softwareengineering

I am working on cp without shift or rotate. I can shift left by repeated add to self (and rotate by testing leftmost bit and oring it onto the right), but what about right shift and rotate? How can I do that

LEAVE A COMMENT