INTRODUCTION TO COMPILER DESIGN
TYPES OF COMPILERS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Compilers
|
|
Translator
|
|
Assemblers
|
|
None of the above
|
Detailed explanation-1: -Assembly language may also be called symbolic machine code. Assembly code is converted into executable machine code by a utility program referred to as an assembler. The conversion process is referred to as assembly, or assembling the source code.
Detailed explanation-2: -An assembler translates a program written in assembly language into machine language and is effectively a compiler for the assembly language, but can also be used interactively like an interpreter. Assembly language is a low-level programming language.
Detailed explanation-3: -The Assembler (a program) translates assembly code into machine code. Assembler language is just a more readable version of machine language (machine language in symbolic form instead of binary form). You write Assembly code; Assembler translates it into machine code; Control unit runs machine code.