Revised While and Do-While in assemblyToC