Students learning computer organization and assembly language programming often have difficulty understanding the relationship between hardware functions and software instructions. Some experimental instruments are used in teaching. According to the problems in traditional experimental teaching, based on the analysis and animation, a software tool has been realized. It provides a visually simulation of the execution of machine and assembly language programs on a simple computer. It can run without specifically equipment, and it is suitable for in-class demonstrations and various types of in-class or out of class assignments.