Tcc
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:
:
CMP X0,A
TGT X0,A R0,R1
:
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:
15
14
13
LF
DM
The condition codes are not affected by this instruction.
MOTOROLA
INSTRUCTION DESCRIPTIONS
Transfer Conditionally
;compare X0 and A (sort for minimum)
;transfer X0
12
11
10
9
T
**
S1
S0
I1
MR
INSTRUCTION SET DETAILS
A and R0
8
7
6
5
4
I0
S
L
E
U
CCR
Tcc
R1 if X0<A
3
2
1
0
N
Z
V
C
A - 285