Discuss in detail Table Management Techniques?

 

Answer: An Assembler used the following tables:

OPTAB: Operation Code Contains mnemonic operation code and its machine language equivalent.

SYMTAB: Symbol Table maintains symbolic label, operand and their corresponding machine.

LITTAB: is a table of literals used in the program

For efficiency reasons SYMTAB must remain in main memory throughout passed I and II of the assemblers. LITTAB is not accessed as frequently as SYMTAB, however it may be accessed sufficiently frequently to justify its presence in the memory. If memory is at a premium, only a part of LITTAB can be kept in memory. OPTAB should be in memory during pass I.

Post a Comment