Conditions In Assembly Code; Conditions - Texas Instruments TMS320C6000 Programmer's Manual

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

5.3 Conditions

Figure 5–3. Conditions in Assembly Code
Five registers on the 'C62x/'C67x are available for conditions: A1, A2, B0, B1,
and B2. Six registers on the 'C64x are available for conditions: A0, A1, A2, B0,
B1, and B2. Figure 5–3 shows the position of a condition in a line of assembly
code.
label:
parallel bars
All 'C6000 instructions are conditional:
If no condition is specified, the instruction is always performed.
If a condition is specified and that condition is true, the instruction
executes. For example:
With this condition ...
[A1]
[!A1]
If a condition is specified and that condition is false, the instruction does
not execute.
With this condition ...
[A1]
[!A1]
[condition]
instruction
The instruction executes if ...
A1 ! = 0
A1 = 0
The instruction does not execute if ...
A1 = 0
A1! = 0
Structure of Assembly Code
Conditions
unit
operands ; comments
5-3

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Questions and answers

Table of Contents