A simple two-pass assembler does which of the following in the first pass:
Checks to see if the instructions are legal in the current assembly mode
It allocates space for the literals.
It builds the symbol table for the symbols and their values.
All of these
Answer : All of these .
Reference : See this Link for Detailed Explanation Two -Pass Assembler