Assembly Macro Processor's Features and their Implementation

Assemblers are typically specific to the processors.But the features of the assembler directives and macro directives are general in a way.This paper discribes the features of an assembly macro processor,and provides the implemention algorithms of these features in detail. When writing this paper,we refered to several modern assemblers or macro processors,such as MASM,GNU gas,NASM,GNU cccp,and so on.