TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-307
OR.T
Bit Logical OR
Description
Compute the logical OR 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]. Clear the remaining bits of D[c].
OR.TD[c], D[a], pos1, D[b], pos2 (BIT)
result = D[a][pos1] OR D[b][pos2];
D[c] = zero_ext(result);
Status Flags
Examples
or.t d3, d1, 7, d2, #9
See Also
AND.T, ANDN.T, NAND.T, NOR.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
01
H
21 20
pos1
16 15
b
12 11
a
8 7
87
H
0