Machine-translated by Google. Questions are authored in English.
Top

Discussion

The assembler takes as input

  • A.several object files and combines them into a single program
  • B.a stream of tokens produced by the lexical analyser of a compiler
  • C.an assembly language program and produces relocatable machine code
  • D.a high level source program and produces an executable file

Answer: C

The assembler translates mnemonic instructions into machine encodings and leaves addresses relocatable. Combining several such modules and resolving the references between them is the linker's task, not the assembler's.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.