TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-42
ANDN.T
Bit Logical AND-Not
Description
Compute the logical AND of bit pos1 of data register D[a] and the inverse of bit pos2 of data register D[b]. Put the
result in the least-significant bit of data register D[c] and clear the remaining bits of D[c] to zero.
ANDN.TD[c], D[a], pos1, D[b], pos2 (BIT)
result = D[a][pos1] AND !D[b][pos2];
D[c] = zero_ext(result);
Status Flags
Examples
andn.t d3, d1, 2, d2, 5
See Also
AND.T, NAND.T, NOR.T, OR.T, ORN.T, XNOR.T, XOR.T
C Not set by this instruction.
V Not set by this instruction.
SV Not set by this instruction.
AV Not set by this instruction.
SAV Not set by this instruction.
31
c
28 27
pos2
23 22
03
H
21 20
pos1
16 15
b
12 11
a
8 7
87
H
0