COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An assembler is a program which converts
A
Assembly language into source language
B
Source language into assembly language
C
Source language into target language
D
None of the above
Explanation: 

Detailed explanation-1: -Assembly language is a low-level computer programming language. Its instructions are short mnemonics, such as ADD, SUB (subtract), and JMP (jump), that match machine language instructions. An assembler converts assembly language into machine language. A disassembler converts machine language into assembly.

Detailed explanation-2: -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-3: -Assembler:-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.

There is 1 question to complete.