Implement logical instructions (rotate, parity, ...)