INTRODUCTION TO MICROPEOCESSOR
MICROPROCESSOR BASICS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Compiler
|
|
Assembler
|
|
Interpreter
|
|
None of the above
|
Detailed explanation-1: -Compilers are a type of translator that support digital devices, primarily computers. The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.
Detailed explanation-2: -The assembler translates a code written in assembly language mnemonics and convert it into binary code. An interpreter is a program which executes the programming code directly instead of just translating it into another format. A compiler is a translator which converts high-level language into the low-level language.
Detailed explanation-3: -Assemblers. In order to convert assembly language into machine code it needs to be translated using an assembler . This converts each statement into the specific machine code needed for the hardware on which it is being run.