Font Size: a A A

Based On The Eight Processor Assembler Linker Research And Design

Posted on:2008-05-13Degree:MasterType:Thesis
Country:ChinaCandidate:S F LiFull Text:PDF
GTID:2208360212475368Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With the rapid development of information technology including computer technology and communication technology, there are more and more embedded systems emerging in various fields. For the rapid development of the embedded, handheld and wireless devices, the embedded software is becoming a hot spot of the information industry.To meet the requirement of industrial control field, one company which is well known in international IT field designed an 8-bit embedded microprocessor: M101. Hardware can't run without the aid of software, and assembler and linker is the key member of the softer development environment for embedded system, therefore the task of this paper is to build an assembler and linker generation system.M101 microprocessor has some strong architecture features, such as half byte instruction set and handy addressing, so these special features can be used to improve code optimizing. One of attracting result is that size of the optimized ROM code is even smaller than its corresponding assembler code. Based on the M101 instruction set manual and M101 assembler user guide, the following works are completed in this dissertation through integrating the constructing method of assembler and linker: design a feasible relocatable file format and a fit executable file format; implement the parsing for the command line and multiple addressing modes for assembler instruction; process the relocatable and optimizing and error hinting information etc; support the special architecture features of M101 microprocessor.Based on M101 microprocessor architecture and general assembling and linking technology, an assembler and linker for the 8-bit processor of M101 architecture has been developed. This dissertation presents the method and details for the assembler and linker. The following works are included in the dissertation.1. Introduce the current status of assembler system for embedded system development platform. Outline the main contents and organization.2. Introduce the history and current status of compiler system progressing, then analyze the general principle of assembler and linker, investigate and research common three binary file formats thoroughly.3. Introduce the architecture features of M101 microprocessor in detail, and analyze the instruction system of the microprocessor, and also give the introduction to the assembler language of the microprocessor.4. Design and implement the assembler and linker generation system. The following aspects are included in this dissertation: design and implement OpCode table; design the NGFF file format; design and implement the assembler and linker and relative processing for the microprocessor.5. Design the test methods, process and cases for the assembler and linker generation system. According to the test result, the system supports the M101's instructions set and characteristic and satisfies the established function.
Keywords/Search Tags:embedded system, assembler, linker, half byte
PDF Full Text Request
Related items