L166 User's Guide

Accessing Public Symbols

It is possible to create public symbols that can be accessed from more than one TGROUP.

  • You may use the A166 Assembler to create GLOBAL objects. The object module is linked with one TGROUP but its GLOBAL objects may be accessed by any TGROUP.
  • You may link an object module with PUBLIC objects outside of a TGROUP so that its PUBLIC object may be accessed by any TGROUP. For example:
    L166 { module1.obj }, { module2.obj }, printf.obj
    
    The PUBLIC symbols contained in printf.obj may be accessed from object files of both TGROUPS (module1.obj and module2.obj).