Instruction Set
13.1.3 3-Operand Instructions
Table 13–3. 3-Operand Instructions
Instruction
Description
ADDC3
Add with carry
ADDF3
Add floating-point values
ADDI3
Add integers
AND3
Bitwise-logical AND
ANDN3
Bitwise-logical AND with complement
ASH3
Arithmetic shift
CMPF3
Compare floating-point values
CMPI3
Compare integers
LSH3
Logical shift
13.1.4 Program-Control Instructions
13-4
Whereas 2-operand instructions have a single source operand (or shift count )
and a destination operand, 3-operand instructions can have two source operands
(or one source operand and a count operand) and a destination operand. A source
operand can be a memory word or a register. The destination of a 3-operand
instruction is always a register.
Table 13–3 lists the instructions that have 3-operand versions. You can omit
the 3 in the mnemonic from 3-operand instructions (see subsection 13.6.2 on
page 13-34).
The program-control instruction group consists of all of those instructions (17)
that affect program flow. The repeat mode allows repetition of a block of code
(RPTB) or of a single line of code (RPTS). Both standard and delayed
(single-cycle) branching are supported. Several program-control instructions
can perform conditional operations. (See Section 13.5 on page 13-28
for detailed information on condition codes.) Table 13–4 lists the program-
control instructions.
Instruction
Description
MPYF3
Multiply floating-point values
MPYI3
Multiply integers
OR3
Bitwise-logical OR
SUBB3
Subtract integers with borrow
SUBF3
Subtract floating-point values
SUBI3
Subtract integers
TSTB3
Test bit fields
XOR3
Bitwise-exclusive OR
Need help?
Do you have a question about the TMS320C3x and is the answer not in the manual?