Abstract
A new approach to Universal Cross Assembler design is proposed. New assemblers can be generated easily from the assembly language syntax, instruction set, addressing modes, binary code pattern of the instructions, directives, and the output file format. There are no constraints on the syntax, addressing modes, and instruction code lengths. It achieves high generality, extendibility and portability by considering assemblers as high level language compilers, using high level language development tools, YACC and LEX on UNIX. Using this approach, two prototype assemblers, one for 8086 and one for 68000, have been implemented on both UNIX and MSDOS. Their performance and comparison with existing assemblers are discussed in the paper.
Index Terms
- A generative approach to Universal Cross Assembler design
Recommendations
A generative programming approach to developing DSL compilers
GPCE'05: Proceedings of the 4th international conference on Generative Programming and Component EngineeringDomain-Specific Languages (DSLs) represent a proven approach to raising the abstraction level of programming. They offer high-level constructs and notations dedicated to a domain, structuring program design, easing program writing, masking the ...
The use of a meta-assembler to design an M code interpreter on AMD2900 chips
MICRO 14: Proceedings of the 14th annual workshop on MicroprogrammingThere have been several machine designs using microproprammed control which interpretively execute intermediate code such as P code and earlier version such as POPS. The recently announced Modula language uses M code as an intermediate language This ...
Portable Microcomputer Cross-Assembler in BASIC
With the tremendous number of microprocessors on the market today it is becoming increasingly hard to find cross assemblers that run on the particular in-house computer system or timesharing service available. Since most minicomputer systems and almost ...
Comments