
Barrel Shifter (Shifter)
2-36
ADSP-2126x SHARC Processor Hardware Reference
A flag update occurs at the end of the cycle in which the status is gener-
ated and is available on the next cycle. If a program writes the arithmetic
status register explicitly in the same cycle that the shifter is performing an
operation, the explicit write to
ASTAT
supersedes any flag update caused by
the shift operation.
Shifter Instruction Summary
lists the shifter instructions and shows how they relate to
ASTATx,y
flags. For more information on assembly language syntax, see
SHARC Processor Programming Reference
. In these tables, note the meaning
of the following symbols:
•
Rn
,
Rx
,
Ry
indicate any register file location; bit fields used depend
on instruction
•
Fn
,
Fx
indicate any register file location; floating-point word
•
*
indicates the flag may be set or cleared, depending on data
Table 2-10. Shifter Instruction Summary
Instruction
ASTATx,y Flags
SZ
SV
SS
Rn = LSHIFT Rx BY Ry
*
*
0
Rn = LSHIFT Rx BY <data8>
*
*
0
Rn = Rn OR LSHIFT Rx BY Ry
*
*
0
Rn = Rn OR LSHIFT Rx BY <data8>
*
*
0
Rn = ASHIFT Rx BY Ry
*
*
0
Rn = ASHIFT Rx BY<data8>
*
*
0
Rn = Rn OR ASHIFT Rx BY Ry
*
*
0
Rn = Rn OR ASHIFT Rx BY <data8>
*
*
0
Rn = ROT Rx BY Ry
*
0
0
Rn = ROT Rx BY <data8>
*
0
0
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...