Texas Instruments TMS320C28x Reference Manual page 77

Dsp cpu and instruction set
Table of Contents

Advertisement

Table 2−11. Shift Operations (Continued)
Operation Type
Rotate ACC right by 1 bit. Bit 0 of ACC
fills the carry bit (C). C fills bit 31 of ACC.
Syntax:
ROR
ACC
Logical right shift of ACC:P.
Syntaxes:
LSR64 ACC:P, 1...16
LSR64, ACC:P, T shift = T(5:0)
Logical left shift of ACC:P.
Syntaxes:
LSL64 ACC:P, 1...16
LSL64 ACC:P, T shift = T(5:0)
Arithmetic right shift of ACC:P.
Syntaxes:
ASR64 ACC:P, 1...16
ASR64, ACC:P, T shift = T(5:0)
Conditional shift of ACC by 1 bit.
Syntaxes:
NORM ACC, aux++
NORM ACC, aux−−
SUBCU ACC, loc
Illustration
0
Last
C
bit out
Discard
other bits
Sign
Discard
Shift Operations
ACC
Rotate right
32 bits to ACC
ACC:P
Shift right
64 bits to ACC:P
ACC:P
Shift left
64 bits to ACC:P
ACC:P
Shift right
64 bits to ACC:P
ACC
Shift left
32 bits to ACC
Central Processing Unit
C
Last
C
bit out
Discard
other bits
0
Last
C
bit out
Discard
other bits
0
2-47

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF