EasyManua.ls Logo

Texas Instruments TMS320C28x

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

Table of Contents

Related product manuals