title: Boolean function for binary shift with a variable amount
body: <p>How can I construct a Boolean function for a binary <em>shift</em> operation by a variable amount?</p>
  <p>I looked that there are possibilities using <em>and</em> and <em>or</em> operators <em><a href="https://www.101computing.net/binary-shifters-using-logic-gates/" rel="nofollow noreferrer">Binary Shifters using Logic Gates</a></em>. But my problem is I need to do a <em>shift</em> operation by a variable amount and not hardcoding this variable to 1.</p>