Target-specific preprocessing of assembly files is implemented in files named arch.cc for each supported target system arch. These files must provide the implementation of the following functions:
The pseudo-opcode table provides the list of supported assembler directives and the associated actions. Entries in the table contain the name of the directive with the leading dot ('.') stripped, and the name of the function to be executed when that directive is encountered.
A generic set of directives and their associated actions is implemented by the class generic_pseudotab. Additional directives and actions (including replacement actions for generic directive names) are provided in target-specific derived class target_pseudotab. The definition and the implementation of class target_pseudotab must be supplied by the user in file target.cc.