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

Discussion

The use of Macroprocessor is as an aid to :

  • A.Linker
  • B.Loader
  • C.Assembler
  • D.Interpreter

Answer: C

A macroprocessor is an aid to the assembler.

In assembly language programming a macro names a frequently used group of instructions. The macroprocessor expands each macro call into the full instructions before assembly, so a macro assembler can translate the program. Macroprocessors arose as a pre-pass of the assembler, though the C preprocessor shows the same idea used with a compiler.

A linker combines separately translated object modules, a loader places a program in memory for execution, and an interpreter executes source statements directly. None of them needs macro expansion as its aid.

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

Post your comment

Please log in or register to post a comment.