Dissertation > Excellent graduate degree dissertation topics show
Intermediate Language Based on Virtual Register
Author: HanDong
Tutor: LiYun
School: Southwest Jiaotong University
Course: Applied Computer Technology
Keywords: intermediate language virtual register virtual instruction assembly language
CLC: TP311.52
Type: Master's thesis
Year: 2009
Downloads: 55
Quote: 0
Read: Download Dissertation
Abstract
|
In embedded system, inline assembly language is often used to increase the efficiency of embedded software instead of high-level language partly, but it is not so portable or readable. To resolve that problem, one kind of intermediate language based on virtual register called VR-IL is designed with some concept and design philosophy of the traditional intermediate language, and it can be mixed with high-level language just like inline assembly language. It can be translated to kinds of target machine languages. Using VR-IL, the disadvantages of inline assembly language are surmounted with nearly the same runtime efficiency. Essentially, the runtime efficiency is achieved with the price of space and runtime compiling cost.On the level of grammar, VR-IL is one kind of programming language based on C language functions, in other words, all VR-IL sentences are in the form of C function, and C function is the basic syntactical unit of VR-IL. On the level of semantics, the purpose of VR-IL program’s running is generating intermediate code, and according to role of code generation, VR-IL sentence is sorted into two sets: direct code generation sentence and auxiliary code generation sentence. The intermediate code presents the function of VR-IL.There is map relationship between VR-IL intermediate code and physical instruction, and VR-IL intermediate code consists of operation code and operand just like physical instruction which is called virtual instruction to be differentiated from physical instruction. Virtual instruction is used to mask the difference of different target architecture, and the converting from virtual instruction to physical instruction is done by the back end of runtime compiler. That can meet the requirement of the embedded system with several target architectures.The compiling process is divided into two parts, the first part is static compiling by high level compiler, after that the virtual instructions are generated by the compiled code. The second part is runtime compiling of the generated virtual instructions, and the output of the process is target machine code.A basically complete program language system is explained in this paper and some algorithms of modern compiler theory are implemented. In the end, the runtime comparison of VR-IL, C and ARM inline assembly language is carried out to illustrate the runtime advantage of VR-IL, and it also prove that the design goal is reached. The work done by the subject provides not only a solution to address the shortcomings of embedded assembly language but also a good reference value for the study of modern compiler theory.
|
Related Dissertations
- Study on the Key Technologies of Domain Database-Oriented Question and Answering System,TP311.13
- Code Parse and Intermediate Language Translation Based on IDA,TP391.2
- Research on Type Analysis in Decompilation for ARM Architecture,TP368.1
- Research on Statement Recovery and Algorithm Recognition in Code Reverse Analysis,TP311.52
- Research on Key Technology of Binary Reverse Analysis for ARM Architecture,TP332
- Intelligent temperature alarm Research and Design,TP277
- A Close Stduy of Cohesive Devices Used in C-Einterretation,H315.9
- Research and Implementation of Embedded Assembly and Pragma Based on IMPACT,TP368.1
- Research on Summary Based Vulnerability Detection of Binary Code,TP309
- Binary Vulnerability Detection Technology Research and Tool Realization,TP309
- The Design and Implement of 16/32-bit MCU Software Simulator,TP337
- DICOM image processing technology efficient data,TP391.41
- Key technologies of multi-lingual machine translation platform,TP391.2
- Research and Development on Network Assisted Teaching System of Assembly Language Programming Course,TP311.52
- PE file encryption Design,TP309.7
- Chinese-English machine translation system in a model of semantic disambiguation,TP391.2
- Design and Implementation of Chinese-English machine translation English generation module XMGEN,TP391.2
- A choice of words in the English machine translation for English Generation Model,TP391.2
- Research and Implementation of the Virtual Register Technology in X Microprocessor Based on IA-64,TP332
- SmartSimular: embedded systems based on the virtual instruction set simulator,TP391.9
CLC: > Industrial Technology > Automation technology,computer technology > Computing technology,computer technology > Computer software > Program design,software engineering > Software Engineering > Software Development
© 2012 www.DissertationTopic.Net Mobile
|