Language Processors
Convert the 080D4E machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:

ADDA h#01FE, i
LOADA h#OD4E, i
STOREA h#014B, d
ASRA

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
Which of the following functions is/ are performed by the loader?

Adjust all address dependent locations, such as address constants, to correspond to the allocated space
Physically place the machine instructions and data into memory
Allocate space in memory for the programs and resolve symbolic references between object decks
All of these

ANSWER DOWNLOAD EXAMIANS APP

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

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 parse the source program into the basic elements or tokens of the language
to build a literal table and an identifier table
to build a uniform symbol table

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP