SH-4 Assembler Symbol Handling Directives (Windows Embedded CE 6.0)
1/5/2010
The following table shows SH-4 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. |