title: Shift Right Logical from just ADD and NAND?
body: <p>I'm making a multiplier in a very simple assembly language in which I have BEQ, NAND, and ADD to create a SRL. I also have to keep the multiplier under 50 lines (16 used thus far) so hopefully the solution can be thrown in a loop. </p>
  
  <p>EDIT: My question is how can I implement an SRL with just a NAND and an ADD</p>
  
  <p>Had an idea although it is very inefficient, maybe someone can improve it:</p>
  
  <p>Decrement say, a, by 1. Store that value in b. Add b and b and store in c. Beq c with a, if it's true then b is half of a, aka srl. Only problem is it would have to loop thousands of times in some cases. Still open to other ideas.</p>