dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 551

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
tion accumulator D1. If address register S2 is used as an address pointer into an array of
data, the address of the desired value is stored in the address register D2. The Tcc
instruction may be used after any instruction and allows efficient searching and sorting
algorithms.
The Tcc instruction uses the internal data ALU paths and internal address ALU paths.
The Tcc instruction does not affect the condition code bits.
Note: This instruction is considered to be a move-type instruction. Due to instruction
pipelining, if an AGU register (Mn, Nn, or Rn) is directly changed with this instruction, the
new contents may not be available for use until the second following instruction. See the
restrictions discussed in A.9.6 - R, N, and M Register Restrictions on page A-page 310.
Example:
Explanation of Example: In this example, the contents of the 24-bit X0 register are
transferred to the 56-bit A accumulator, and the contents of the 16-bit R0 address regis-
ter are transferred to the 16-bit R1 address register if the specified condition is true. If the
specified condition is not true, a NOP is executed.
Condition Codes:
The condition codes are not affected by this instruction.
MOTOROLA
Tcc
CMP X0,A
TGT X0,A R0,R1
15
LF
:
:
DM
14
13
T
Freescale Semiconductor, Inc.
**
12
For More Information On This Product,
MR
INSTRUCTION DESCRIPTIONS
S1
11
INSTRUCTION SET DETAILS
S0
Transfer Conditionally
10
Go to: www.freescale.com
I1
9
;compare X0 and A (sort for minimum)
;transfer X0
I0
8
S
7
6
L
E
5
A and R0
U
4
CCR
N
3
Z
2
R1 if X0<A
V
1
C
0
Tcc
A - 285

Related parts for dsp56000