INTRODUCTION TO COMPILER DESIGN
TYPES OF COMPILERS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which Software convert the program written in assembly language to machine language?
|
Assembler
|
|
Compiler
|
|
Interpreter
|
|
None of the above
|
Explanation:
Detailed explanation-1: -An assembler converts assembly language into machine language. A disassembler converts machine language into assembly.
Detailed explanation-2: -1. converts the programs written in assembly language into machine instructions. Explanation: An assembler is a software used to convert the programs into machine instructions.
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.