SYNTAX ANALYSIS
ROLE OF THE PARSER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
a) Cross compilerc
|
|
b) Multipass compiler
|
|
) Optimizing compiler
|
|
d) One pass compiler
|
Detailed explanation-1: -20. What is the compiler called which runs on one machine and produces code for a different machine? Explanation: The compiler called which runs on one machine and produces code for the different machines is called a cross compiler.
Detailed explanation-2: -Explanation: The Canadian Cross is a technique for building cross compilers for other machines.
Detailed explanation-3: -A cross compiler is a compiler that may run on one machine and produce output target code for another machine. This process of generating a compiler for a new machine is called a cross compiler. A cross compiler is a compiler that can generate executable code for platforms other than the one it’s running on.
Detailed explanation-4: -An assembler that runs on one machine but produces machine code for another machine is called cross compiler. Cross assembler is an assembler which runs on one type of processor and produces machine code for another.