Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>public make symbol available to all modules directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PUBLIC           Make Symbol Available to All Modules               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 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.

See Also: EXTRN

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson