System Programming by Bughate Arti & Walde Monika & Makeshwar Mahendra & Kakne Ashish

System Programming by Bughate Arti & Walde Monika & Makeshwar Mahendra & Kakne Ashish

Author:Bughate, Arti & Walde, Monika & Makeshwar, Mahendra & Kakne, Ashish
Language: eng
Format: epub
Publisher: ASK
Published: 2024-04-07T00:00:00+00:00


The Macro Name Table (MNT), which can be used to store the names of defined macros. Each MNT entry consists of a character string such as the macro name and a pointer such as index to the entry in MDT that corresponds to the beginning of the macro definition. Table 2.2 shows the MNT entry for INCR macro:

The Macro Definition Table Counter (MDTC) that indicates the next available entry in the MDT.

The Macro Name Table Counter (MNTC) that indicates the next available entry in the MNT.

The Argument List Array (ALA) that can be used to substitute index markers for dummy arguments prior to store a macro definition. ALA is used during both the passes of the macro pre-processor. During Pass 1, dummy arguments in the macro definition are replaced with positional indicators when the macro definition is stored. These positional indicators are used to refer to the memory address in the macro expansion. It is done in order to simplify the later argument replacement during macro expansion. The ith dummy argument on the macro name card is represented in the body of the macro by the index marker symbol #. The # symbol is a symbol reserved for the use of macro pre-processor.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.