Discuss in detail Table management Techniques?
An Assembler uses the subsequent tables:
OPTAB: Operation Code Table consists of mnemonic operation code and machine language equivalent of this.
SYMTAB: Symbol Table keeps symbolic label, operand and their consequent machine.
LITTAB is a table of literals utilized in the program
For efficiency reasons SYMTAB should remain in main memory during passes I and II of the assembler. Table of literals is not accessed as frequently as SYMTAB; though this may be accessed sufficiently often to justify its presence in the memory. Only a part of LITTAB can be remained in memory, if memory is at a premium. OPTAB must be in memory during pass I.