Instructions
5.4 Instructions
Figure 5–4. Instructions in Assembly Code
Table 5–1. Selected TMS320C6x Directives
5-4
Assembly code instructions are either directives or mnemonics:
Assembler directives are commands for the assembler (asm6x) that
control the assembly process or define the data structures (constants and
variables) in the assembly language program. All assembler directives
begin with a period, as shown in the partial list in Table 5–1. See the
TMS320C6000 Assembly Language Tools User's Guide for a complete
list of directives.
Processor mnemonics are the actual microprocessor instructions that
execute at runtime and perform the operations in the program. Processor
mnemonics must begin in column 2 or greater. For more information about
processor mnemonics, see the TMS320C6000 CPU and Instruction Set
User's Guide .
Figure 5–4 shows the position of the instruction in a line of assembly code.
label:
parallel bars
Directives
.sect
" name "
.double value
.float value
value
.int
.long value
.word value
.short value
value
.half
.byte value
See the TMS320C6000 Assembly Language Tools User's Guide for a com-
plete list of directives.
[condition]
instruction
Description
Creates section of information (data or code)
Reserve two consecutive 32 bits (64 bits) in memory and
fill with double-precision (64-bit) IEEE floating-point rep-
resentation of specified value
Reserve 32 bits in memory and fill with single-precision
(32-bit) IEEE floating-point representation of specified
value
Reserve 32 bits in memory and fill with specified value
Reserve 16 bits in memory and fill with specified value
Reserve 8 bits in memory and fill with specified value
unit
operands ; comments
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers