added quotient register, and started adding memory register