TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-40
AND.T
Bit Logical AND
Description
Compute the logical AND of bit pos1 of data register D[a] and 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.
AND.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
and.t d3, d1, 7, d2, 2
See Also
ANDN.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
00
H
21 20
pos1
16 15
b
12 11
a
8 7
87
H
0