School of CET System Software and Compiler Lab Assignment No.3
School of CET System Software and Compiler Lab Assignment No.3
Aim: Design suitable data structure & implement pass 1 of Two Pass Macroprocessor.
Objective: Design suitable data structure & implement pass 1 of Two Pass
Macroprocessor. Input should consist of a one macro definition and one macro call and
few assembly language instructions.
Theory:
Write about
Step 2: Read Next Instruction (and divide it into it's various field as label,
mnemonic (opcode arguments).
Output:
1. Program without Macro Definition (Pass-I)
Conclusion: The function of Pass 1 in assembler are studied along with errors coming in
each pass.