Basic Computer Architecture and Assembly Interface to Control Position and Velocity of Motor with Quadrature Encoding