Added code so that the solution to the operation is done right as the instruction goes to the operational unit so the register is free.