During Pass1, OPTAB is used to look up andvalidate operation codes. Pass-1 (define symbols): Assign addresses to all statements. Save the values (addresses) assigned to all labelsfor use in Pass-2. Perform some processing of assembler directives. In Pass 2, it is used to translate the operationcodes to machine language. Pass-2 (assemble instructions and generateobject program) Assemble instructions (translating operation codesand looking up addresses). Generate data values defined by BYTE, WORD,etc. Perform processing of assembler directives notdone during Pass-1. Write the object program and the assembly listing.