提高单片机软件仿真器代码重用性的类群设计  

Class Group Design for Improving the Code Reusability of Single-Chip Microcomputer Software Simulators

在线阅读下载全文

作  者:王馨梅[1] 张翔[1] 邢楠[1] 

机构地区:[1]西安理工大学自动化学院,陕西西安710048

出  处:《计算机工程与科学》2008年第7期133-135,共3页Computer Engineering & Science

摘  要:本文充分提取多种系列单片机的共性与差异性,抽象出针对单片机软件仿真的四元组数学模型。在此四元组模型的基础上,应用面向对象设计的思想,结合跳跃表、动态空间管理、编译预处理等技术方法,构造出一个单片机软件仿真器类群。该类群可实例化出不同结构参数及指令集的单片机仿真器对象,与传统的结构化程序设计相比,极大地提高了代码的重用性。A quad model of single-chip microcomputer simulation is abstracted in this paper, based on the commonness and difference among a series of single-chip microcomputers. With the theory of object-oriented design, lump table, dynamic memory management and code pre-processing, the class group of software simulators for single-chip microcomputers are designed. This class group can be instanced to various objects of the single-chip microcomputer with different architectures and instruction sets, therefore the method can greatly improve reusability.

关 键 词:面向对象 类群 单片机 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象