摘要
利用虚拟指令作为中间语言来构建可重用指令集模拟器是解决模拟器可重用性的重要技术。介绍了可重用指令集模拟器的工作原理,提出了虚拟指令的构建原则和方法,描述了对汇编指令的语义规则,最后举例说明如何从汇编指令的语义描述规则出发,生成与目标指令语义等价的虚拟指令。
Using virtual instructions as the intermediate language to build the retargetable instruction-set simulator is an important technology to resolve retargetability of the simulator. The principles of the retargetable instruction-set simulator is introduced, the construction principles and methods of virtual instructions are illustrated, and how to describe the semantics of assembly instructions is demonstrated. Finally two examples are given to explain how to produce virtual instructions that are equal to target instruction's semantics from assembly instructions' semantics description.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第14期3489-3491,3538,共4页
Computer Engineering and Design
基金
国家863高技术研究发展计划基金项目(2006AA01Z409)
关键词
指令集模拟
虚拟指令
语义描述
语义等价
指令翻译
instruction-set simulation
virtual instruction
semantic description
semantic equivalence
instruction translation