SHASM Symbol Handling Directives
The following table shows SHASM assembler directives for symbol handling.
Directive | Syntax | Description |
---|---|---|
.EQU |
|
Sets a symbol value. Symbols defined with the .EQU directive cannot be redefined. |
.ASSIGN |
|
Sets a symbol value that can be redefined. |
.REG |
|
Defines the alias of a register name. The alias of a register name defined with .REG cannot be redefined. |
.EXPORT |
|
Declares export symbols. This declaration allows symbols defined in the current file to be referenced in other files. |
.IMPORT |
|
Declares import symbols. This declaration allows symbols defined in other files to be referenced in the current file. |
.GLOBAL |
|
Declares export and import symbols. This declaration allows symbols defined in the current file to be referenced in other files and allows symbols defined in other files to be referenced in the current file. |
See Also
SHx Series Assembler Directives | SHASM Section and Location Directives | SHASM Data and Data Area Directives | SHASM Function-Definition Directives | SHASM Debug Information Directives | SHASM Listing Directives | SHASM Miscellaneous Directives | SHASM Conditional Assembly Directives | SHASM Macro Directives
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.