期刊文献+

嵌入式组态软件脚本解释虚拟机的设计 被引量:1

Design for script interpreter virtual machine of embedded configuration software
下载PDF
导出
摘要 为了增强嵌入式组态软件的功能,引入一种类似于C语言的脚本。设计一个编译器把该脚本编译成中间代码,采用中间代码的优点是可提高程序运行的速度,也减小了脚本解释程序的设计难度。提出一种仿微处理器结构的脚本虚拟机设计方案,在运行时对中间代码进行解释。虚拟机主要由程序存储器、指令译码器、运算器、程序计数器、控制器以及动态容器组成,其中动态容器的设计是关键,它具有可动态分配内存、自动释放内存等优点,适合于嵌入式操作系统下运行。实验与测试结果表明,该脚本解释虚拟机可满足嵌入式组态软件设计的要求。 In order to enhance the function of the embedded configuration software,a C-like script is introduced.A compiler is designed to compile the script into Intermediate code,using intermediate code the running speed is improved,and the design difficulty of the script interpreter is reduced.A design of imitation microprocessor architecture is proposed for script virtual machine.Then the intermediate code is explained at run.Virtual machine is mainly composed of the program memory,instruction decoder,arithmetic unit,program counter,controller,and dynamic containers.Among them,the dynamic design of the container is the most critical,which has dynamically allocate memory,automatically release memory,etc.and is suitable for running in the embedded operating system.By experiments and tests show that,the script interpreter virtual machine can satisfy the design requirements for the embedded configuration software.
出处 《计算机工程与设计》 CSCD 北大核心 2012年第2期830-836,共7页 Computer Engineering and Design
基金 广西教育厅科研基金项目(200322) 广西民族大学重大基金项目(0409013)
关键词 嵌入式组态软件 脚本解释 虚拟机 中间代码 仿微处理器结构 embedded configuration software script interpreter virtual machine intermediate code imitation microprocessor architecture
  • 相关文献

参考文献12

二级参考文献60

共引文献26

同被引文献10

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部