SYMX - Symbol table file expander ================================= Copyright (C) 1984 by Jeffrey J. Nonken Portions Copyright (C) 1981 by Microsoft Unlimited duplication and distribution permitted for non-profit purposes. NOTE: Microsoft has given blanket permission to distribute their old library (distributed as OBSLIB.REL and linked into this program), without need of registration or royalties, so long as a copyright notice is included (see above). SYMX description ================ SYMX is a symbol table expanding routine. The Microsoft FORTRAN-80 (F80), MACRO-80 (M80), BASIC-80 (BASCOM), and LINK- 80 (L80) programs only put public symbols in the symbol table (SYM) file. However, occasionally it is useful to have local symbol locations available. SYMX will take PRN files generated by MACRO-80 and combine all non-public symbols in them with an existing SYM file, creating a larger file with the same name. The new file will be readable by SID and ZSID if the old file was. SYMX instructions ================= For interactive mode, execute with no parameters. SYMX Next, enter the name of the SYM file. SYM FILE NAME? XYZZY.SYM -or- SYM FILE NAME? XYZZY SYMX will read in the SYM file and display the number of symbols found. PRN FILE NAME? Now you may enter the PRN files. You may either enter them one at a time or all on a single line. For the first method, SYMX will prompt you for each name, and entering a blank line will cause it to finish. For the second method, you must enter all names on one line, separated by commas. SYMX will not prompt you again. As each file is opened its name will be displayed; after it is loaded, the total number of symbols will be displayed. (NOTE: if you start by entering one on a line, you may at any time finish by typing the remaining PRN file names on one line.) For file controlled mode, execute with the file name as a parameter. SYMX XYZZY If you do not specify an extension, SYMX will assume an extension of SYX. The above statement is the same as SYMX XYZZY.SYX The syntax for the file controlled mode is the same as that for interactive mode. The SYX file is an ASCII file. The blank line on the end of the one-per-line method is acceptable but not necessary. Also, if SYMX encounters a question mark (?) alone on a line, it will revert to interactive mode. Note that this is only good for the PRN files; a SYX file must contain at least the SYM file name before a question mark. SYMX limitations ================ SYMX can only handle 1500 symbols. If you exceed 1500 symbols, SYMX will probably blow up, as there is no protection against symbol table overflow. SYMX was designed to work only with symbol table files compatible with Digital Research's MAC and Microsoft's L80. It is also designed to work with PRN files generated by M80. If it used with any other assembler, the list of symbols at the end of the listing must look exactly the same as with M80, including the legend 'Symbols:' at the top of the symbol table. - Jeffrey J. Nonken San Clemente, Ca.