Directives Summary
4-5
Assembler Directives
Table 4–1. Assembler Directives Summary (Continued)
(e) Directives that reference other files
Mnemonic and Syntax
Description
Page
.copy [”]
filename[”]
Include source statements from another file
.def
symbol
1
[, ... ,
symbol
n
]
Identify one or more symbols that are defined in the
current module and may be used in other modules
.global
symbol
1
[, ... ,
symbol
n
]
Identify one or more global (external) symbols
.include [”]
filename[”]
Include source statements from another file
.ref
symbol
1
[, ... ,
symbol
n
]
Identify one or more symbols that are used in the cur-
rent module but may be defined in another module
(f) Directives that define macros
Mnemonic and Syntax
Description
Page
.macro
Identify the source statement as the first line of a mac-
ro definition. You must place .macro in the opcode
field
.mlib [”]
filename[”]
Define macro library
.mexit
Go to .endm. This directive is useful when error test-
ing confirms that macro expansion will fail.
.endm
End .macro code block
.var
Define a local macro substitution symbol
(g) Directives that control conditional assembly
Mnemonic and Syntax
Description
Page
.break [
well-defined expression]
End .loop assembly if condition is true. The .break
construct is optional.
.else
well-defined expression
Assemble code block if the .if condition is false. The
.else construct is optional.
.elseif
well-defined expression
Assemble code block if the .if condition is false and the
.elseif condition is true. The .elseif construct is
optional.
.endif
End .if code block
.endloop
End .loop code block
.if
well-defined expression
Assemble code block if the condition is true
.loop [
well-defined expression]
Begin repeatable assembly of a code block
Содержание TMS320C54x
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 46: ......
Страница 47: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 56: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 60: ......
Страница 61: ......
Страница 62: ......
Страница 276: ......
Страница 277: ......
Страница 278: ......
Страница 279: ......
Страница 280: ......
Страница 281: ......
Страница 282: ......
Страница 283: ......
Страница 284: ......
Страница 285: ......
Страница 286: ......
Страница 287: ......
Страница 288: ......
Страница 289: ......
Страница 290: ......
Страница 291: ......
Страница 292: ......
Страница 293: ......
Страница 294: ......
Страница 295: ......
Страница 296: ......
Страница 297: ......
Страница 298: ......
Страница 299: ......
Страница 300: ......
Страница 301: ......
Страница 302: ......