Multiple choice

In a two pass assembler, Pass 1 defines symbols, and Pass 2 generates ______.

  1. a program

  2. an object deck

  3. an execution

  4. a single-line

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In a standard two-pass assembler, the first pass is dedicated to scanning the source code to identify symbols and build a symbol table. The second pass uses the addresses determined in the first pass to translate the assembly code into machine code. The resulting output is known as an object deck or object module, which is ready for the loader.