Discuss in detail Table management Techniques?
An Assembler employs the subsequent tables:
OPTAB: Operation Code Table consists of mnemonic operation code and its machine language equivalent.
SYMTAB: Symbol Table keeps symbolic label, operand and their subsequent machine.
LITTAB is a table of literals employed in the program
For effectiveness reasons SYMTAB should remain in main memory all through passes I and II of the assembler. LITTAB is not accessed as often as SYMTAB, though it may be accessed sufficiently often to justify its presence in the memory. If memory is at a premium, just only a part of LITTAB can be kept in memory. OPTAB should be in memory throughout pass I.