CODE GENERATION
ROLE OF CODE GENERATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Translates low level assembly language mnemonic into machine code
|
Assembler
|
|
Compiler
|
|
Interpreter
|
|
None of the above
|
Explanation:
Detailed explanation-1: -In assembly language, we use predefined words called mnemonics. Binary code instructions in low-level language are replaced with mnemonics and operands in middle-level language. But the computer cannot understand mnemonics, so we use a translator called Assembler to translate mnemonics into machine language.
Detailed explanation-2: -An assembler converts assembly language into machine language. A disassembler converts machine language into assembly.
Detailed explanation-3: -An assembler converts assembly language code into machine code (also known as object code), an even lower-level language that the processor can directly understand.
There is 1 question to complete.