给出了CPU仿真实验中的一些基本概念,介绍了Flash技术以及提出了该技术在教学领域中应用的优势和必然性,并采用面向对象的编程思想(OBB)。利用Action Script解决了元件类层次及其显示问题、系统的交互问题、信号同步及动画显示的问题。最后,通过各系统的协同设计实现了CPU的仿真实验。
This paper introduced some basic concepts for CPU simulation systems,presented the Flash technology and its advantages and inevitability in the teaching field.The OBB and the Action Script were used to solve the class hierarchy of components and its display problems,the interaction problems of system,signal synchronization and the animation show problems.Finally.the experiment of CPU simulation was realized through the various systems to design coopertiveely.