
Code Generation and Machine-dependent Optimization 303
Here, each line represents one template, whose format is:
<op-code># <code generation template>
A1, A2, etc. are tokens which will be replaced by appropriate quantities by the code generator script.
The assembly language op-codes and register designations, if any, are reproduced without change or
replacement. The string “nl” represents the next-line character to be inserted in the output. Generally,
A1 will be replaced by the first argument in the 4-tuple, A2 by the second and A3 by the third
argument.
We use a slightly different codebase.ast file for conversion of RPN IR.
9.9.1 Conversion ...