GLOBAL - Export a Label
Syntax
global <label> [, <label>...]
Description
For use when generating an object file. Declares symbol names that are defined in the current module and should be available to other modules. At least one label must be specified on the line.
For more information, refer to Relocatable Objects.
Example
udata
Var1 res 1
Var2 res 1
global Var1, Var2
code
AddThree
global AddThree
addlw 3
return
See Also
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |