EasyManua.ls Logo

Infineon TriCore TC1.6P - CLS - Count Leading Signs

Infineon TriCore TC1.6P
484 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-70
CLS
Count Leading Signs
Description
Count the number of consecutive bits which have the same value as bit 31 in D[a], starting with bit 30, and put the
result in D[c]. The result is the number of leading sign bits minus one, giving the number of redundant sign bits in
D[a].
CLSD[c], D[a] (RR)
result = leading_signs(D[a]) - 1;
D[c] = zero_ext(result);
Status Flags
Examples
cls d3, d1
See Also
CLO, CLO.H, CLZ, CLZ.H, CLS.H
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
1D
H
20 19
-
18 17
-
16 15
-
12 11
a
8 7
0F
H
0

Table of Contents

Related product manuals