Barrel Shifter (Shifter)
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
the shift operation.
Shifter Instruction Summary
Table 2-10
lists the shifter instructions and shows how they relate to
flags. For more information on assembly language syntax, see
ASTATx,y
SHARC Processor Programming Reference. In these tables, note the meaning
of the following symbols:
•
,
,
Rn
Rx
Ry
on instruction
•
,
indicate any register file location; floating-point word
Fn
Fx
•
indicates the flag may be set or cleared, depending on data
*
Table 2-10. Shifter Instruction Summary
Instruction
Rn = LSHIFT Rx BY Ry
Rn = LSHIFT Rx BY <data8>
Rn = Rn OR LSHIFT Rx BY Ry
Rn = Rn OR LSHIFT Rx BY <data8>
Rn = ASHIFT Rx BY Ry
Rn = ASHIFT Rx BY<data8>
Rn = Rn OR ASHIFT Rx BY Ry
Rn = Rn OR ASHIFT Rx BY <data8>
Rn = ROT Rx BY Ry
Rn = ROT Rx BY <data8>
2-36
ASTAT
indicate any register file location; bit fields used depend
ADSP-2126x SHARC Processor Hardware Reference
supersedes any flag update caused by
ASTATx,y Flags
SZ
SV
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
0
*
0
SS
0
0
0
0
0
0
0
0
0
0
Need help?
Do you have a question about the ADSP-21261 SHARC and is the answer not in the manual?
Questions and answers