I am having some trouble getting this procedure called DoLeftShift to work properly. The Shifter procedure is working, I know because I have test values and they all work, so the problem is in DoLeftShift.
For the shifter disabled, I am getting all 0's or all 1's, where it should be the same binary that was put in originally. Enable Shift and Shift Instruction also are not working.
Edit: Code removed because it was part of a homework assignment.