Terminal Table
A. a permanent table which lists all key words and special symbols of the language in symbolic form
B. a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
C. 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
D. contains all constants in the program
Answer: Option A
Which of the following functions is/ are performed by the loader?
A. Allocate space in memory for the programs and resolve symbolic references between object decks
B. Physically place the machine instructions and data into memory
C. Adjust all address dependent locations, such as address constants, to correspond to the allocated space
D. All of the above
A. ASRA
B. LOADA h#OD4E, i
C. STOREA h#014B, d
D. ADDA h#01FE, i
The advantage(s) of incorporating the macro processor into pass 1 is/ are:
A. many functions do not have to be implemented twice
B. Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
C. more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros
D. All of the above
A. absolute mode
B. indirect mode
C. immediate mode
D. index mode
Join The Discussion