SLAU131Y October 2004 – June 2021
The directives listed in Table 7-2 through Table 7-6 can be used with macros. The .macro, .mexit, .endm and .var directives are valid only with macros; the remaining directives are general assembly language directives.
| See | |||
|---|---|---|---|
| Mnemonic and Syntax | Description | Macro Use | Directive |
| .endm | End macro definition | Section 7.3 | .endm |
| macname .macro [parameter1 ][,... , parametern] | Define macro by macname | Section 7.3 | .macro |
| .mexit | Go to .endm | Section 7.3 | Section 7.3 |
| .mlib filename | Identify library containing macro definitions | Section 7.5 | .mlib |
| See | |||
|---|---|---|---|
| Mnemonic and Syntax | Description | Macro Use | Directive |
| .asg ["]character string["], substitution symbol | Assign character string to substitution symbol | Section 7.4.1 | .asg |
| .eval well-defined expression, substitution symbol | Perform arithmetic on numeric substitution symbols | Section 7.4.1 | .eval |
| .var sym1 [, sym2 , ..., symn ] | Define local macro symbols | Section 7.4.6 | .var |
| See | |||
|---|---|---|---|
| Mnemonic and Syntax | Description | Macro Use | Directive |
| .break [well-defined expression] | Optional repeatable block assembly | Section 7.6 | .break |
| .endif | End conditional assembly | Section 7.6 | .endif |
| .endloop | End repeatable block assembly | Section 7.6 | .endloop |
| .else | Optional conditional assembly block | Section 7.6 | .else |
| .elseif well-defined expression | Optional conditional assembly block | Section 7.6 | .elseif |
| .if well-defined expression | Begin conditional assembly | Section 7.6 | .if |
| .loop [well-defined expression] | Begin repeatable block assembly | Section 7.6 | .loop |
| See | |||
|---|---|---|---|
| Mnemonic and Syntax | Description | Macro Use | Directive |
| .emsg | Send error message to standard output | Section 7.8 | .emsg |
| .mmsg | Send assembly-time message to standard output | Section 7.8 | .mmsg |
| .wmsg | Send warning message to standard output | Section 7.8 | .wmsg |
| See | |||
|---|---|---|---|
| Mnemonic and Syntax | Description | Macro Use | Directive |
| .fclist | Allow false conditional code block listing (default) | Section 7.9 | .fclist |
| .fcnolist | Suppress false conditional code block listing | Section 7.9 | .fcnolist |
| .mlist | Allow macro listings (default) | Section 7.9 | .mlist |
| .mnolist | Suppress macro listings | Section 7.9 | .mnolist |
| .sslist | Allow expanded substitution symbol listing | Section 7.9 | .sslist |
| .ssnolist | Suppress expanded substitution symbol listing (default) | Section 7.9 | .ssnolist |