Motorola DSP56000 Manual page 550

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

Tcc
Operation:
If cc, then S1
If cc, then S1
Description: Transfer data from the specified source register S1 to the specified desti-
nation accumulator D1 if the specified condition is true. If a second source register S2
and a second destination register D2 are also specified, transfer data from address reg-
ister S2 to address register D2 if the specified condition is true. If the specified condition
is false, a NOP is executed. The term "cc'' may specify the following conditions:
CC (HS)
— carry clear (higher or same)
CS (LO)
— carry set (lower)
EC
— extension clear
EQ
— equal
ES
— extension set
GE
— greater than or equal
GT
— greater than
LC
— limit clear
LE
— less than or equal
LS
— limit set
LT
— less than
MI
— minus
NE
— not equal
NR
— normalized
PL
— plus
NN
— not normalized
where
U denotes the logical complement of U,
+
denotes the logical OR operator,
denotes the logical AND operator, and
denotes the logical Exclusive OR operator
When used after the CMP or CMPM instructions, the Tcc instruction can perform many
useful functions such as a "maximum value," "minimum value," "maximum absolute
value," or "minimum absolute value" function. The desired value is stored in the destina-
A - 284
INSTRUCTION DESCRIPTIONS
Transfer Conditionally
D1
D1 and S2
D2
"cc'' Mnemonic
INSTRUCTION SET DETAILS
Assembler Syntax:
Tcc S1,D1
Tcc S1,D1 S2,D2
Condition
C=0
C=1
E=0
Z=1
E=1
N
V=0
Z+(N
L=0
Z+(N
L=1
N
V=1
N=1
Z=0
Z+(U
E)=1
N=0
Z+(U
E)=0
Tcc
V)=0
V)=1
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents