TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-324
SAT.BU
Saturate Byte Unsigned
Description
If the unsigned 32-bit value in D[a] is greater than 255, then store the value 255 in D[c]. Otherwise copy D[a] to
D[c].
SAT.BUD[c], D[a] (RR)
D[c] = (D[a] > FF
H
) ? FF
H
: D[a]; // unsigned comparison
SAT.BUD[a] (SR)
Status Flags
Examples
sat.bu d3, d1
See Also
SAT.B, SAT.H, SAT.HU
If the unsigned 32-bit value in D[a] is greater than 255, then store the value 255 in D[a]. Otherwise leave the
contents of D[a] unchanged.
D[a] = (D[a] > FF
H
) ? FF
H
: D[a]; // unsigned comparison
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.
sat.bu d1
31
c
28 27
5F
H
20 19
-
18 17
-
16 15
-
12 11
a
8 7
0B
H
0