Research on Virtual Instruction Translation Technique and Implementation of Translator

Author
XieYaoBin
Advisor
JiangLieHui
School
PLA Information Engineering University
Major
Computer Software and Theory
Classification
TP391.2 Translator
Degree
Master's thesis
Year
2007
Downloads
106
Citations
5

Request the full text

Abstract

Traditional simulators only for a specific processor , thereby constraining the development of the simulator , multi- target simulator is fast, flexible and reusable characteristics that can resolve the deficiencies of traditional simulators . Construction technology is based on virtual instruction to build multi- target simulator technologies , relative to the plug-in based multi- target simulator built with scalability and reusability of high merit . Translation is a kind of virtual instruction simulator key technologies aimed at different target code will be translated into an equivalent virtual instruction to simulator backend execution . Research papers in various machine description language based on the design of a database-based machine description language (DBML), explains how DBML to describe the target processor architecture and instruction set ; draws on the idea of ??the Java Virtual Machine , defines a set of virtual instruction set simulator backend execution as an interface , and describes a variety of common commands can be translated into an equivalent virtual instruction : The effects of various commands translation technology , the use of lexical , syntax analysis program automatically generation tools flex and bison to achieve a virtual command interpreter , and uses optimization techniques to streamline the command level generated virtual instruction on the use of the system architecture level Cache technology to improve instruction translation speed. The virtual instruction translator paper finally the speed , efficiency and accuracy were tested and the results show that the virtual command interpreter in various areas to meet the needs of the simulator .

Table of contents

Table of Contents 6-7 Figures 7-8 Summary 8-9 ABSTRACT 9-10 The first chapter 10-17 1.1 Background 10-12 1.2 topics sources 12-13 1.3 virtual command interpreter needs analysis 13-14 1.4 virtual instruction translator framework 14-15 1.5 study focused 15-16 1.6 Thesis organization and structure 16-17 The second chapter is based on the database machine description language (DBML) design 17-31 2.1 Machine Description Language Studies 17-18 2.1.1 Architecture Description Language 17-18 2.1.2 Instruction Set Description Language 18 2.2 machine description language based on the database schema 18-22 2.2.1 ADO Interface 19-20 2.2.2 database management module 20 2.2.3 DBML machine hardware level description 20-21 2.2.4 Profile Generator Interface 21-22 2.3 DBML command semantic level description 22-31 2.3.1 machine instruction semantic features 22 2.3.2 Directive semantic information table 22-24 2.3.3 Semantic Description 24-28 2.3.4 Addressing Types Table 28-29 2.3.5 DBML command semantic-level description Design Summary 29-31 Chapter virtual instruction set design 31-40 3.1 The concept of virtual instruction 31 3.2 virtual instruction set build 31-33 3.3 virtual instruction set 33-35 3.3.1 virtual instruction data type 33-34 3.3.2 virtual instruction 34-35 3.4 on the virtual instruction can achieve assembly instructions functional description 35-40 Chapter translator achieve 40-55 4.1 instruction translation technology 40-42 4.1.1 Static translation 40 4.1.2 dynamic translation 40-41 4.1.3 translator needs and implementation strategies 41-42 4.2 Analysis and semantic description of the target instruction generates 42-43 4.2.1 disassemble the engine and its generated instruction format 42 4.2.2 Directive semantic description generation 42 4.2.3 matching rule 42-43 4.3 virtual instruction generation 43-51 4.3.1 flex and bison 43-44 4.3.2 semantic description of lexical analysis 44-46 4.3.3 semantic description parsing 46-51 4.4 translation optimization techniques 51-55 4.4.1 virtual instruction optimization 51-53 4.4.2 Cache optimization 53-55 Chapter Performance Test 55-58 5.1 speed test 55 5.2 Efficiency Test 55 5.3 Accuracy Test 55-57 5.4 test results 57-58 Conclusion 58-60 one, the text summarizes 58 Second, the prospect 58-60 References 60-62 Author Biography master's degree major work accomplished during 62-63 Thanks 63

Related dissertations

  1. The Research of Encryption and Decryption Algorithms in the Embedded Trusted Computing Platform
    ChenRenHai ·Shandong University ·2012 ·Master's thesis
  2. Research on Instruction Set Simulation Echnology for Binary Analysis
  3. Intermediate Language Based on Virtual Register
    HanDong ·Southwest Jiaotong University ·2009 ·Master's thesis