SHASM Miscellaneous Directives
The following table shows miscellaneous other SHASM assembler directives.
Directive | Syntax | Description |
---|---|---|
.RADIX |
|
Sets the radix, or base, for integer constants with no radix specification. Unless otherwise specified, integer constants are assumed decimal numbers. |
.WEAK |
|
Declares weak external symbols. Weak externals are a mechanism for programs allowing flexibility at link time. |
.END |
|
Declares the end of the source program. |
.INCLUDE |
|
Includes the specified file in the current assembly. The file name can include the directory. If the file is not found in the current directory and is not specified with an absolute path, the assembler looks in each of the directories specified in the INCLUDE environment variable. |
.LEN |
|
Counts the length of a character string. |
.INSTR |
|
Searches for a character string. |
.SUBSTR |
|
Extracts a character string. |
The following table shows valid RADIX specifications.
Radix Specification | Description |
---|---|
B (or b) | Binary |
Q (or q) | Octal |
O (or o) | Octal |
D (or d) (default) | Decimal |
H (or h) | Hexadecimal |
X (or x) | Hexadecimal |
See Also
SHx Series Assembler Directives | SHASM Section and Location Directives | SHASM Symbol Handling Directives | SHASM Data and Data Area Directives | SHASM Function-Definition Directives | SHASM Debug Information Directives | SHASM Listing Directives | SHASM Conditional Assembly Directives | SHASM Macro Directives
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.