MAP

Features of a Symbol Table - System Software - GTU MCA


Ø  SYMTAB (symbol table)

Ø  Content
      Label name and its value (address)
      May also include flag (type, length) etc.

Ø  Usage
      Pass 1: labels are entered into SYMTAB with their address (from
                   LOCCTR) as they are encountered in the source program
       Pass 2: symbols used as operands are looked up in SYMTAB to
                   obtain the address to be inserted in the assembled instruction

Ø  Characteristic
        Dynamic table (insert, delete, search)

Ø  Implementation
        Hash table for efficiency of insertion and retrieval

COPY             1000
FIRST            1000
CLOOP          1003
ENDFIL         1015
EOF                1024
THREE          102D
ZERO             1030
RETADR       1033
LENGTH       1036
BUFFER        1039
RDREC         2039

            SYMBOL TABLE(SYMTAB)

1 comments:

Your website is very beautiful or Articles. I love it thank you for sharing for everyone. Professional Stylist Course

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More