PUBLIC Make Symbol Available to All Modules MASM Directive
PUBLIC name,,,
Makes a label, variable, or absolute symbol available to all modules
in a program.
Notes: Name must be defined within the current source file.
If absolute symbols are specified, they can only
represent 1 or 2 byte integer or string values.
All characters in name are forced into upper-case when
writing the object file out. Use of the MASM switches
/ML and /MX can be used to preserve lower-case.
Symbols used by symbolic debuggers, such as Symdeb and
CodeView, must be declared as PUBLIC.
There must be a PUBLIC statement in one of the program
source files for each EXTRN symbol declared.
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster