SH-4 Assembler Conditional Assembly Directives (Windows Embedded CE 6.0)
1/5/2010
The following table shows the conditional assembly directives.
Directive | Syntax | Description |
---|---|---|
.ASSIGNA |
|
Defines an integer preprocessor variable; the defined variable can be redefined. |
.ASSIGNC |
|
Defines a character preprocessor variable; the defined variable can be redefined. |
.AIF.AELSIF.AELSE.AENDI |
|
Determines whether to assemble a part of a source program according to the specified condition. When the condition is satisfied, the statements after the .AIF are assembled. When the condition is not satisfied, the statements after the .AELSE are assembled. |
.ERROR or .AERROR |
|
Reports error detected at assembly time by user code. The alternate spelling .AERROR is also supported |
.AREPEAT.AENDR |
|
Repeats assembly of a part of a source program between .AREPEAT and .AENDR the specified number of times. |
.AWHILE.AENDW |
|
Assembles a part of a source program between .AWHILE and .AENDW iteratively while the specified condition is satisfied. |
.EXITM |
|
Terminates .AREPEAT or .AWHILE iterated expansion. |
.ALIMIT |
|
Specifies the upper limit value for expansion of the AWHILE directive in the preprocessor. |