A C++ and Assembly language program for a Computer Architecture course