Assembler control directives
Syntax
/*comment*/
//comment
CASEOFF
CASEON
ERROR "message"
.option {norelax|norvc|pop|push|relax|rvc}
RADIX expr
Parameters
| Comment ignored by the assembler. |
| Default base—default 10 (decimal). |
| Text to be displayed. |
| Disables the link-time instruction relaxation. |
| Prevents the assembler from converting normal and pseudo-instructions to compressed instructions. (Note that compressed instructions can still be used after |
| Restores the options saved using |
| Saves the current options to a stack for future restoration. |
| Enables the link-time instruction relaxation. |
| Allows the assembler to convert normal and pseudo-instructions to compressed instructions. The is the default mode. |
Description
These directives provide control over the operation of the assembler. For information about the restrictions that apply when using a directive in an expression, see Expression restrictions.
Directive | Description | Expression restrictions |
|---|---|---|
C-style comment delimiter. | ||
C++ style comment delimiter. | ||
Disables case sensitivity. | ||
Enables case sensitivity. | ||
Generates an error. | ||
Makes a setting that controls the operation of the assembler. | ||
Sets the default base on all numeric values. | No forward references No external references Absolute Fixed |
Use /*...*/ to comment sections of the assembler listing.
Use // to mark the rest of the line as comment.
Use RADIX to set the default base for constants. The default base is 10.