/Gp (Specifying Entry Tables)

Option

/Gpnumber

Use the /Gp option to specify the maximum number of entry tables for your program. A space between /Gp and number is optional. Like the other options for fine-tuning p-code described in Chapter 3 of the Programming Techniques manual, the /Gp option must be used in conjunction with the /Oq option.

An entry table is needed for every segment that contains a p-code function or a function called by a p-code function. One entry table can describe up to 256 such functions. If a segment contains more than that, the Make P-Code utility (MPC) creates additional entry tables.

Note:

The MPC utility is invoked automatically when you specify the /Oq option on the CL command line.

Specify /Gpnumber when you compile your source file. When the MPC utility processes the resulting .EXE file, it creates up to number entry tables. MPC returns an error if the program needs more than number entry tables.

If you do not specify the /Gp option, number is assigned the default value of 255. In addition to the space that the actual entry tables take up, there is a four-byte overhead for each possible entry table.