Discuss in detail Table management Techniques?


An Assembler uses the following tables:

OPTAB: Operation Code Table 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 passes I and II of the assembler. 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

0 comments:

Feel free to contact the admin for any suggestions and help.