A generative approach to Universal Cross Assembler design

  • Authors:
  • P. P. K. Chiu;S. T. K. Fu

  • Affiliations:
  • Department of Electronic Engineering, Hong Kong Polytechnic, Hung Horn, Kowloon, Hong Kong;Department of Electronic Engineering, Hong Kong Polytechnic, Hung Horn, Kowloon, Hong Kong

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

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.