COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the name for the software used to convert an assembly language program into machine code?
A
Assembler
B
Interpreter
C
Compiler
D
Translator
Explanation: 

Detailed explanation-1: -A compiler is computer software that transforms computer code written in one programming language (the source language) into another programming language (the target language).

Detailed explanation-2: -An assembler is a program that converts the assembly language into machine code.

Detailed explanation-3: -So all you have to do is identify each opcode in the assembly language, map it to the corresponding machine instruction, and write the machine instruction out to a file, along with its corresponding parameters (if any). You then repeat the process for each additional opcode in the source file.

There is 1 question to complete.