Language Processors
Assembly code data base is associated with

a permanent table which lists all key words and special symbols of the language in symbolic form
a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
assembly language version of the program which is created by the code generation phase and is input to the assembly phase
consists of a full or partial list or the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
The advantage(s) of incorporating the macro processor into pass 1 is/ are:

All of these
Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
many functions do not have to be implemented twice
more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
The function(s) of the Syntax phase is/ are:

to parse the source program into the basic elements or tokens of the language
to build a literal table and an identifier table
to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs
to build a uniform symbol table

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
Terminal Table

consists of a full or partial list of the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
a permanent table which lists all key words and special symbols of the language in symbolic form
a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
contains all constants in the program

ANSWER DOWNLOAD EXAMIANS APP