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