Crossware

Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Other Assembler Directives->XREF Reference External Symbols

The XREF directive lists the symbols that are used in the current module but which are defined in other modules.

Format:
    
XREF[.S][<segment name>:](<symbol list>),[<segment name>:](<symbol list>),....
where<segment name> is the name of the section defined in the SECTION directive.  (At present neither the assembler or linker make use this information).
and<symbol list> is a comma separated list of symbol names.

The optional .S indicates that the symbol value is less than 0FFFFH (although the assembler does not currently make use of this information).

Examples:
    
XREFMYCODE:routine1,routine2,routine3,MYDATA:table1
XREFroutine1,routine2,routine3,table1