Design and Implementation of the ASM05 Assembler
- Author
- QiZuoZuo
- Advisor
- TuShiLiang
- School
- Fudan University
- Major
- Computer System Architecture
- Classification
- TP313 Assembler
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 81
- Citations
- 1
Abstract
The development of assembler has a long history. The first assembler appeared in 1940. Assembler is one essential part of compiler tool chain of a computer. Now, the theory of assembler is very ripe. Today, chip industry is developing fast and much more people are engaged in the research of embedded system processor. The traditional theory of assembler still plays an important role because many new assemblers should be implemented for many new embedded system processors. Though the traditional theory of assembler can give effective direction to design and development of assembler, it doesn’t mention anything about the maintenance of assembler. This is a blind spot in the commercial age because the assembler, as a production, must be improved according to the consumer’s advice from time to time. For this, this paper presents new assembler architecture, a feature-extensible assembler architecture, which completes the traditional theory on maintenance of assembler. Such architecture is easy to maintain. It is easy to modify the function of the assembler without make great change on the architecture if the assembler uses such architecture. Furthermore, this paper uses such architecture to implement the ASM05 assembler and validates the efficiency of such architecture on maintenance by adding MACRO and INCLUDES directives to ASM05 assembler. These two functions, MACRO and INCLUDE, were not considered when designing the ASM05 assembler at first. Besides, this paper presents the detail of the implementation of ASM05 assembler.
Table of contents
Abstract 5-6
ABSTRACT 6-7
Chapter Introduction 7-10
1.1 Background and motivation 7 < br /> 1.2 assembler Overview 7-8
1.3 this work 8-9
1.4 essay structure 9-10
Chapter ASM05 compilation architecture 10-16
2.1 MC68HC05C8A chip architecture 10-12
2.2 ASM05 assembler instruction set 12-16
Chapter ASM05 assembler design 16-23
3.1 assembler input and output 16-17
3.2 assembler project characteristics 17-18
3.3 Instruction assembler features scalable architecture 18-23
Chapter ASM05 assembler implementation 23-44
4.1 development environment 23 <br / > 4.2 reads text processing 23
4.3 lexical analysis 23-26
4.4 DEAL_HANDLER library first class instruction processing interface implementation 26-29 < br /> 4.5 the realization of the first pass 29
4.6 Encoding information processing and labeling process 29-34
4.7 DEAL_HANDLER second type of library instruction processing interface implementation 34-36
4.8 second scan realization 36
4.9 output file generation 36-42
4.10 ASM05 assembler overall process 42
4.11 with SEMV-BL emulator debugging software engagement 42-44
Chapter macro assembler with the file contains features added 44-55 < br /> 5.1 macro assembler features added 44-50
5.2 file contains the features added 50-55
Chapter ASM05 assembler running tests 55-61
6.1 based functional test 55-57
6.2 macro assembler function test 57-59
6.3 file contains the function test 59 - 61
Chapter Summary and Outlook 61-62
References 62-63
Appendix 63-64
A master's degree in reading papers published during 63
B participating research 63-64
Thanks 64-65
Related dissertations
- Research on Rheological Consolidation of Soft Clavev Soils in Dual Scale
- The Software Design of Manipulator of Five-axis Injection Handing Device
- Design and Implementation of Configurable Compiling Tools
- Stock Management System Based on IBM S/390
- The Design and Implementation of an Automated Typesetting System for Undergraduate Thesis
- Research on the Transmutation of British Macro University System in20th Century
- The Research on the Provincial Government Macro-control of a Number of Issues
- On Xu Wei Painting’s Value Orientation
- Dynamics Research of Crawler Travelling Mechanics of Roadheader
- Contemporary City Management and Its Philosophy
- Studies on the Development of Dairy Industry in China
- The Macro-economic Control of Consumer Demands
- A class of recursive epiphytic layer supply chain model and its complex production kinetics Game
- Study on the Fluctuation of Pork Price in China
- Open economy regulation mechanism of state material reserves
- A Study on China’s Financial Security
- Research in Interest Rate Fine-tuning of China’s Macroeconomic Regulation and Control
- Study on China’s Macro-economic Policy in Financial Crisis
- The Non-equilibrium Analysis of Economic and Suitable Houses in Beijing
- Research about the Macro Program Based on FANUC 0i CNC System